-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Unable to build container with init script #155839
Comments
Maybe this should be
|
This is great! Those were always in conflict, but one of them won, by luck of the
That line does feel like a default. |
Hold on, it seems to be the other way around. That line should be a |
I would assume VPSAdminOS wants the boot loader even for containers if they are explicitly enabling the init scripts. cc @aither64 |
I don't fully understand all these changes, but yes, I would say that |
I thought of the wrong kind of container. #155839 (comment) lgtm. |
Opened #155962 |
Describe the bug
After updating from b2737d4 to d5dae65, my config no longer builds:
Those two modules appear to by enabled by the copy of the vpsadminos module I am importing but weirdly, neither of those seem to have changed:
https://github.com/NixOS/nixpkgs/blob/3cbb02087b4c2dfc3be664d7152cec51765e53ef/nixos/modules/virtualisation/container-config.nix
https://github.com/NixOS/nixpkgs/blob/3cbb02087b4c2dfc3be664d7152cec51765e53ef/nixos/modules/system/boot/loader/init-script/init-script.nix
Steps To Reproduce
Run
nixos-rebuild build-vm -I nixpkgs=$PWD -I nixos-config=<(echo '{ ... }: { boot.isContainer = true; boot.loader.initScript.enable = true; }')
The text was updated successfully, but these errors were encountered: