summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2015-02-18 16:11:14 +0100
committerPeter Palfrader <peter@palfrader.org>2015-02-18 16:11:42 +0100
commitc664a4539ecdad9b7cfa1ddb4d0768bd71b69ca4 (patch)
treed8ab281a6590a5a4213827604988cd92450b5beb
parent83bb52e4ddeee287e448f7f65bdcd36a3a285779 (diff)
And use a keyring variable
-rwxr-xr-xinstall-VM-grongo3
1 files changed, 2 insertions, 1 deletions
diff --git a/install-VM-grongo b/install-VM-grongo
index 0cebca9..ef01edd 100755
--- a/install-VM-grongo
+++ b/install-VM-grongo
@@ -26,6 +26,7 @@ SUITE=jessie
hostlistfile=/root/VMs/host-list
MIRROR=http://ftp.at.debian.org/debian
+KEYRING=/usr/share/keyrings/debian-archive-keyring.gpg
prefixlen=26
gateway=213.235.231.193
ip6prefix=2001:858:10f:100::
@@ -173,7 +174,7 @@ cleanup+=("umount '$target'")
cd "$target"
cleanup+=("cd /")
-debootstrap --variant=minbase --keyring=/usr/share/keyrings/debian-archive-keyring.gpg "$SUITE" . "$MIRROR"
+debootstrap --variant=minbase --keyring="$KEYRING" "$SUITE" . "$MIRROR"
### Set up swap and fstab
mkswap "$diskfileswap"