MT#6171 Install Sipwise mirror key inside chroot

Trololol
ksolomko/vlan
Michael Prokop 12 years ago
parent 58dda5efda
commit ecbd5aa538

@ -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

Loading…
Cancel
Save