summaryrefslogtreecommitdiff
path: root/semaphoreci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2019-09-25 05:19:12 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2019-09-25 05:19:12 +0000
commit6eee120dbc9664ec50576a2a1c6ca0da1d0b387f (patch)
tree427ab93fd11b71049f187a6dc368e62debe9b8d9 /semaphoreci
parenta007d6fc2a2b9c19bafd6465fb4f00910b824c36 (diff)
downloadsystemd-6eee120dbc9664ec50576a2a1c6ca0da1d0b387f.tar.gz
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
}