浏览代码

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