forked from kalipso/infrastructure
[sops] change reproducible secrets file structure
This commit is contained in:
@@ -19,7 +19,7 @@ if [ ! -e flake.nix ]
|
||||
done
|
||||
fi
|
||||
|
||||
diskkey=$(sops -d machines/secrets/keys/itag/$HOSTNAME/disk.key)
|
||||
diskkey=$(sops -d machines/$HOSTNAME/secrets/disk.key)
|
||||
|
||||
echo
|
||||
if [ $# = 1 ]
|
||||
@@ -37,4 +37,4 @@ else
|
||||
echo "Usage: $0 <hostname> [ip]"
|
||||
echo "If an IP is not provided, the hostname will be used as the IP address."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user