Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Subiron
backupninja
Commits
8f381b64
Verified
Commit
8f381b64
authored
Feb 12, 2023
by
Jérôme Charaoui
Browse files
Options
Downloads
Patches
Plain Diff
ensure noninteractive mode for debconf
parent
0f5e5535
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Vagrantfile
+2
-0
2 additions, 0 deletions
Vagrantfile
test/test.sh
+1
-1
1 addition, 1 deletion
test/test.sh
with
3 additions
and
1 deletion
Vagrantfile
+
2
−
0
View file @
8f381b64
...
@@ -17,6 +17,7 @@ Vagrant.configure("2") do |config|
...
@@ -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|
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
test/test.sh
+
1
−
1
View file @
8f381b64
...
@@ -24,7 +24,7 @@ if [ ! "$(which backupninja)" ]; then
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment