diff --git a/deployment.sh b/deployment.sh index fbf9f98..9ad9a58 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1783,13 +1783,13 @@ vagrant_configuration() { # if ngcp-keyring isn't present (e.g. on plain Debian systems) then we have # to install our key for usage of our own Debian mirror - if apt-key list | grep -q 680FBA8A ; then + if grml-chroot $TARGET apt-key list | grep -q 680FBA8A ; then echo "Sipwise Debian mirror key is already present." else echo "Installing Sipwise Debian mirror key (680FBA8A)." - wget -O /etc/apt/680FBA8A.asc http://deb.sipwise.com/autobuild/680FBA8A.asc - apt-key add /etc/apt/680FBA8A.asc - apt-get update + grml-chroot $TARGET wget -O /etc/apt/680FBA8A.asc http://deb.sipwise.com/autobuild/680FBA8A.asc + grml-chroot $TARGET apt-key add /etc/apt/680FBA8A.asc + grml-chroot $TARGET apt-get update fi # required for fake_uname and VBoxLinuxAdditions.run