-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
libvirt: Allow control over boot image configuration #587
Conversation
9839992
to
f6dde2d
Compare
712fa00
to
972e89b
Compare
Could you remove the 499 fix from this PR? |
It doesn't work without it, so I would rather wait for #596 to be merged before removing it (by then rebasing on top of master). |
I don't think we should inline make-disk-image here. The last thing we want is to fragment that code again, after investing so much time to generalize it. |
Well, it was already pretty much inlined already. Should I replace it with make-disk-image directly ? I thought there were some issues with it like NixOS/nixpkgs#20471. |
Also somewhat relevant (especially if you duplicate the image building code): NixOS/nixpkgs#21943 |
Yes, I'm following your PRs closely :) |
#596 was merged! |
…possible in specific environments (static IP, special devices, ...)
… two stages to share the first build
972e89b
to
68231c1
Compare
I'm closing this because I'm not using nixops anymore. If anyone still wants this, you can fetch the branch from my fork and make a new PR yourself. |
@Nadrieril Would you mind leaving it open? Regardless of whether or not it is useful to you, it is likely still useful to the rest of us. |
+1, also if you can let us know why you're not using nixops, it might be useful feedback :) |
Ok. |
Oh, and also I wanted remote deployment but the PR to add remote libvirt deployment seems stalled. And statelessness as much as possible, to make it easier to deploy from multiple machines. |
Hello! Thank you for this PR. In the past several months, some major changes have taken place in
This is all accumulating in to what I hope will be a NixOps 2.0 My hope is that by adding types and more thorough automated testing, However, because of the major changes, it has become likely that this If you would like to see this merge, please bring it up to date with Thank you again for the work you've done here, I am sorry to be Graham |
This PR adds a deployment.libvirtd.boot_config option that is used to specify the NixOS configuration to use for the first boot.
This is useful in non-standard configurations, for example in networks without DHCP, in case of needing external filesystems, or if special devices are enabled.
It ensures sharing of the base image to make build times reasonable.