Merge pull request #287100 from mkg20001/lxd-fix-config
lxd-container-image: set mode of configuration.nix
This commit is contained in:
commit
6a6f5206d7
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@
|
||||||
};
|
};
|
||||||
in ''
|
in ''
|
||||||
if [ ! -e /etc/nixos/configuration.nix ]; then
|
if [ ! -e /etc/nixos/configuration.nix ]; then
|
||||||
mkdir -p /etc/nixos
|
install -m 644 -D ${config} /etc/nixos/configuration.nix
|
||||||
cp ${config} /etc/nixos/configuration.nix
|
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue