semaphore: turn on systemd-networkd in lxc-containers on Semaphore

It appears networking.service has broken down on Debian Buster.
This commit is contained in:
Evgeny Vereshchagin 2019-09-25 05:19:12 +00:00
parent a007d6fc2a
commit 6eee120dbc

View File

@ -36,6 +36,8 @@ apt-get -q --allow-releaseinfo-change update
apt-get -y dist-upgrade apt-get -y dist-upgrade
apt-get install -y eatmydata apt-get install -y eatmydata
apt-get purge --auto-remove -y unattended-upgrades apt-get purge --auto-remove -y unattended-upgrades
systemctl unmask systemd-networkd
systemctl enable systemd-networkd
EOF EOF
sudo lxc-stop -n $CONTAINER sudo lxc-stop -n $CONTAINER
} }