diff --git a/docs/en_US/guide/lxd_custom.md b/docs/en_US/guide/lxd_custom.md index 7d03b140f5..c30a0b2447 100644 --- a/docs/en_US/guide/lxd_custom.md +++ b/docs/en_US/guide/lxd_custom.md @@ -50,10 +50,10 @@ See which case this falls into, if it's the former active and the latter inactiv ``` # Judge for yourself whether you need to disable the original network management or not -# sudo systemctl stop systemd-networkd -# sudo systemctl disable systemd-networkd -# sudo systemctl stop systemd-networkd.socket -# sudo systemctl disable systemd-networkd.socket +# systemctl stop systemd-networkd +# systemctl disable systemd-networkd +# systemctl stop systemd-networkd.socket +# systemctl disable systemd-networkd.socket ``` If you want to install ```ifupdown``` to control the network, this tool is available on all major linux systems. @@ -69,8 +69,8 @@ apt-get install ifupdown2 -y ``` ``` -sudo systemctl start networking -sudo systemctl enable networking +systemctl start networking +systemctl enable networking ``` Then restart the server, check whether the machine's network will be rebooted due to the modification of the case of loss of connection, and run```uptime```to observe that the startup has been more than 1 minute before proceeding to the next steps @@ -133,7 +133,7 @@ The downside is that the addresses are dark/dirty, and cloudflare's cdn will mos ``` -sudo tee -a /etc/network/interfaces <