mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
parent
a007d6fc2a
commit
6eee120dbc
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user