Обновить memories
This commit is contained in:
parent
1bdf6f7e97
commit
fe0489cf1d
11
memories
11
memories
@ -34,8 +34,10 @@ select [392] ru_RU.UTF-8 UTF-8
|
|||||||
|
|
||||||
# shutdown -r now
|
# shutdown -r now
|
||||||
|
|
||||||
# mv /etc/netplan/50-cloud-init.yaml /etc/netplan/00-installer-config.yaml
|
# rm /etc/netplan/50-cloud-init.yaml
|
||||||
# This is the network config written by 'subiquity'
|
|
||||||
|
# touch /etc/netplan/10-netplan-config.yaml
|
||||||
|
# echo "# This is the network config written by 'subiquity'
|
||||||
network:
|
network:
|
||||||
version: 2
|
version: 2
|
||||||
ethernets:
|
ethernets:
|
||||||
@ -48,13 +50,14 @@ network:
|
|||||||
routes:
|
routes:
|
||||||
- to: default
|
- to: default
|
||||||
via: [IP_GATEWAY]
|
via: [IP_GATEWAY]
|
||||||
|
" >> /etc/netplan/10-netplan-config.yaml
|
||||||
|
|
||||||
# chmod 600 /etc/netplan/00-installer-config.yaml
|
# chmod 600 /etc/netplan/10-netplan-config.yaml
|
||||||
# netplan try
|
# netplan try
|
||||||
# netplan apply
|
# netplan apply
|
||||||
# systemctl restart systemd-networkd
|
# systemctl restart systemd-networkd
|
||||||
|
|
||||||
# reboot
|
# shutdown -r now
|
||||||
# sudo su -
|
# sudo su -
|
||||||
|
|
||||||
*** HESTIACP ***
|
*** HESTIACP ***
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user