summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-05-20 17:12:45 +0200
committertv <tv@krebsco.de>2015-05-20 17:12:45 +0200
commit7269b03c518fdf08e63e77fed5a1eadb1e7d5698 (patch)
tree604d160acda5e9dca9a46ed6709a5610dcf4489c
parente655655146ef400998e1d65d2e15fa8f36c22aa0 (diff)
infest: make <secrets> available
-rwxr-xr-xinfest3
1 files changed, 2 insertions, 1 deletions
diff --git a/infest b/infest
index 829c4c8..95abdda 100755
--- a/infest
+++ b/infest
@@ -182,7 +182,8 @@ infest_centos7_64bit() {
mkdir -m 0444 -p /mnt/var/empty
ln -s $main /mnt/etc/nixos/configuration.nix
- nixos-install
+ nixos-install \
+ -I secrets=/etc/nixos/secrets
rsync -va --force /int/ /