Also export the proxy for https usage
[ext/instance-debootstrap.git] / examples / hooks / grub
index 43ec160..c242df5 100755 (executable)
@@ -24,6 +24,7 @@ fi
 export LANG=C
 if [ "$PROXY" ]; then
   export http_proxy="$PROXY"
+  export https_proxy="$PROXY"
 fi
 export DEBIAN_FRONTEND=noninteractive
 chroot "$TARGET" apt-get -y --force-yes install grub grub-common