summaryrefslogtreecommitdiffstats
path: root/semaphoreci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2019-09-25 07:19:12 +0200
committerEvgeny Vereshchagin <evvers@ya.ru>2019-09-25 07:19:12 +0200
commit6eee120dbc9664ec50576a2a1c6ca0da1d0b387f (patch)
tree427ab93fd11b71049f187a6dc368e62debe9b8d9 /semaphoreci
parentMerge pull request #13481 from Antique/cgroupv2 (diff)
downloadsystemd-6eee120dbc9664ec50576a2a1c6ca0da1d0b387f.tar.xz
systemd-6eee120dbc9664ec50576a2a1c6ca0da1d0b387f.zip
semaphore: turn on systemd-networkd in lxc-containers on Semaphore
It appears networking.service has broken down on Debian Buster.
Diffstat (limited to 'semaphoreci')
-rwxr-xr-xsemaphoreci/semaphore-runner.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/semaphoreci/semaphore-runner.sh b/semaphoreci/semaphore-runner.sh
index 184134e6a3..9e98638dcd 100755
--- a/semaphoreci/semaphore-runner.sh
+++ b/semaphoreci/semaphore-runner.sh
@@ -36,6 +36,8 @@ apt-get -q --allow-releaseinfo-change update
apt-get -y dist-upgrade
apt-get install -y eatmydata
apt-get purge --auto-remove -y unattended-upgrades
+systemctl unmask systemd-networkd
+systemctl enable systemd-networkd
EOF
sudo lxc-stop -n $CONTAINER
}