Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit e6aba11

Browse files
committed
Issue #1760: Actually do run the hostname stuff, use --privileged on Ubuntu 18.04 test.
1 parent f27b0bc commit e6aba11

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,3 @@ composer_home_path: "/{{ drupalvm_user }}/.composer"
55
# Don't run the 'disable firewall' tasks in tests.
66
firewall_disable_firewalld: false
77
firewall_disable_ufw: false
8-
9-
# Don't set a hostname, because Docker doesn't easily allow hostname control.
10-
hostname_fqdn: ''

tests/run-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ if [ $distro = 'centos7' ]; then
2626
elif [ $distro = 'centos6' ]; then
2727
init="/sbin/init"
2828
opts="--privileged"
29+
# Ubuntu 18.04
30+
elif [ $distro = 'ubuntu1804' ]; then
31+
init="/lib/systemd/systemd"
32+
opts="--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
2933
# Ubuntu 16.04
3034
elif [ $distro = 'ubuntu1604' ]; then
3135
init="/lib/systemd/systemd"

0 commit comments

Comments
 (0)