mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-22 18:52:39 +01:00
ensure noninteractive mode for debconf
This commit is contained in:
parent
0f5e5535d5
commit
8f381b6415
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -17,6 +17,7 @@ Vagrant.configure("2") do |config|
|
|||||||
remote.vm.hostname = "bntest1"
|
remote.vm.hostname = "bntest1"
|
||||||
remote.vm.network "private_network", ip: "192.168.181.5"
|
remote.vm.network "private_network", ip: "192.168.181.5"
|
||||||
remote.vm.provision "shell", inline: <<-SHELL
|
remote.vm.provision "shell", inline: <<-SHELL
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
apt-get update
|
apt-get update
|
||||||
@ -36,6 +37,7 @@ Vagrant.configure("2") do |config|
|
|||||||
local.vm.hostname = "bntest0"
|
local.vm.hostname = "bntest0"
|
||||||
local.vm.network "private_network", ip: "192.168.181.4"
|
local.vm.network "private_network", ip: "192.168.181.4"
|
||||||
local.vm.provision "shell", inline: <<-SHELL
|
local.vm.provision "shell", inline: <<-SHELL
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
echo "root: vagrant" >> /etc/aliases
|
echo "root: vagrant" >> /etc/aliases
|
||||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
|
@ -24,7 +24,7 @@ if [ ! "$(which backupninja)" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install basic test dependencies
|
# Install basic test dependencies
|
||||||
apt-get -qq install bats mailutils faketime crudini
|
DEBIAN_FRONTEND=noninteractive apt install -y bats mailutils faketime crudini
|
||||||
|
|
||||||
# Create a temporary base directory
|
# Create a temporary base directory
|
||||||
TMPDIR=$(mktemp -t -d bntest.XXXXXX)
|
TMPDIR=$(mktemp -t -d bntest.XXXXXX)
|
||||||
|
Loading…
Reference in New Issue
Block a user