diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-10-22 13:47:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 13:47:14 +0200 |
commit | 49bc1a76e067eec3f96a3de9bd3ea9f6001ec968 (patch) | |
tree | 0c1e0fefb44da45d55d7f62cdf72fd2477fbb7d1 /nixos/modules | |
parent | 7ced47e8ed9e5320cfe8a9bfa461c1e3b92d8703 (diff) | |
parent | d156ab6c9c98a5ac94d52989cb178bb2e26658af (diff) |
Merge pull request #261692 from josephst/fix-lxc-container-bootloader
nixos/lxc-container: use absolute path for ln in install-lxc-sbin-init.sh
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/lxc-container.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index c40c7bee18866..1034c699629d9 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -66,7 +66,7 @@ in { system.build.installBootLoader = pkgs.writeScript "install-lxd-sbin-init.sh" '' #!${pkgs.runtimeShell} - ln -fs "$1/init" /sbin/init + ${pkgs.coreutils}/bin/ln -fs "$1/init" /sbin/init ''; systemd.additionalUpstreamSystemUnits = lib.mkIf cfg.nestedContainer ["systemd-udev-trigger.service"]; |