mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 22:22:27 +00:00
vagrant: debianoid: don't interactively ask questions
This commit is contained in:
parent
46c524ff98
commit
76697a6b93
1 changed files with 1 additions and 0 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -9,6 +9,7 @@ $wmem = $xdistn * 256 # give the VM additional memory for workers [MB]
|
||||||
|
|
||||||
def packages_debianoid(user)
|
def packages_debianoid(user)
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
# this is to avoid grub asking about which device it should install to:
|
# this is to avoid grub asking about which device it should install to:
|
||||||
echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
|
echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
|
||||||
apt-get -y -qq update
|
apt-get -y -qq update
|
||||||
|
|
Loading…
Reference in a new issue