mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-13 01:45:56 +00:00
Merge pull request #4857 from ThomasWaldmann/fix-grub-debianoid
vagrant: fix issue in stretch VM hanging at grub installation
This commit is contained in:
commit
232e1ec31d
1 changed files with 4 additions and 3 deletions
7
Vagrantfile
vendored
7
Vagrantfile
vendored
|
@ -9,9 +9,10 @@ $wmem = $xdistn * 256 # give the VM additional memory for workers [MB]
|
||||||
|
|
||||||
def packages_debianoid(user)
|
def packages_debianoid(user)
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
apt update
|
# this is to avoid grub asking about which device it should install to:
|
||||||
# install all the (security and other) updates
|
echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
|
||||||
apt dist-upgrade -y
|
apt-get -y -qq update
|
||||||
|
apt-get -y -qq dist-upgrade
|
||||||
# for building borgbackup and dependencies:
|
# for building borgbackup and dependencies:
|
||||||
apt install -y libssl-dev libacl1-dev liblz4-dev libzstd-dev libfuse-dev fuse pkg-config
|
apt install -y libssl-dev libacl1-dev liblz4-dev libzstd-dev libfuse-dev fuse pkg-config
|
||||||
usermod -a -G fuse #{user}
|
usermod -a -G fuse #{user}
|
||||||
|
|
Loading…
Reference in a new issue