mirror of
https://github.com/0xbbjubjub/miniguest.git
synced 2024-10-26 07:49:13 +03:00
Tweak vm bootstrap process
It's unconventional (albeit minor) to create a symlink in /, so avoid.
This commit is contained in:
parent
77cb37d929
commit
4083eb2574
@ -19,7 +19,7 @@ mkIf (cfg.enable && cfg.guestType == "qemu") {
|
||||
};
|
||||
|
||||
boot.initrd.postMountCommands = ''
|
||||
cp -PT /mnt-root/boot/init /mnt-root/init
|
||||
test "$stage2Init" = /init && stage2Init=/boot/init
|
||||
'';
|
||||
|
||||
boot.loader.grub.enable = mkDefault false;
|
||||
|
Loading…
Reference in New Issue
Block a user