New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add vultr backend #634
Conversation
Can you describe steps how to test the backend? |
I'll try to add documentation and tests this weekend. So far it's working great! Nixops is so much better than ansible/terraform for this use case. |
documentation and trivial example added. Still needs tests. |
So glad to see this getting some attention! Yay! |
Hi, I pulled these 2 commits into my local tree, which is caught up with
Are you seeing this at all? I followed the steps outlined in https://www.vultr.com/docs/install-nixos-on-vultr, the only difference being that I used |
Yeah, btrfs is currently hard-coded in the backend python file (similar to ext4 being hard-coded in the digital ocean one). I need to mess around with it and see what would need done to move that into the config object instead. I'm looking at the libvirtd implementation of nixops to see how I could do that, but not making much progress. |
Ahh, ok. Thanks for the clarification, I’ll try to work around this. |
Instead of the custom snapshot, wouldn't it be easier to use the smallest image they have and run https://github.com/jeaye/nixos-in-place on it? That would make using Vultr as simple as providing your credentials… |
I agree that the best UX would be to only provide the credentials and let nixops worry about the rest. I wonder how hard it would be for nixops to create a snapshot on its own. But I would be more than happy to have a first version of vultr support in nixops, even if it would still require the manual steps. |
@pierrebeaucamp you're right, it shouldn't block inclusion. Once you have a snapshot you can basically use it forever. I would like to see https://www.vultr.com/api/ mentioned on where to get the |
5c6420b
to
22dc35e
Compare
Please do this in a plugin. |
addresses issue #575