Bläddra i källkod

vagrant: debianoid: don't interactively ask questions

Thomas Waldmann 5 år sedan
förälder
incheckning
76697a6b93
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      Vagrantfile

+ 1 - 0
Vagrantfile

@@ -9,6 +9,7 @@ $wmem = $xdistn * 256  # give the VM additional memory for workers [MB]
 
 def packages_debianoid(user)
   return <<-EOF
+    export DEBIAN_FRONTEND=noninteractive
     # this is to avoid grub asking about which device it should install to:
     echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
     apt-get -y -qq update