init-lxd.sh 458 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
apt-get update
apt-get install --install-recommends -y inetutils-ping udev iptables bridge-utils busybox-static python gnupg openssh-server avahi-daemon nano vim
systemctl disable NetworkManager || true
systemctl enable systemd-resolved
systemctl start systemd-resolved
rm /etc/resolv.conf || true
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemctl enable systemd-networkd
systemctl restart systemd-networkd
systemctl restart systemd-resolved