Преглед изворни кода

vagrant: debianoid: don't interactively ask questions

Thomas Waldmann пре 5 година
родитељ
комит
76697a6b93
1 измењених фајлова са 1 додато и 0 уклоњено
  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