vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens160:
dhcp4: no
addresses: [192.168.199.102/24]
optional: true
gateway4: 192.168.199.1
nameservers:
addresses: [114.114.114.114]
version: 2
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/280537.html