网络配置
使用与 Ubuntu18+:
vim /etc/netplan/xxxxx.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
enp6s18:
addresses: [192.168.1.2/24]
gateway4: 192.168.1.1
nameservers:
addresses: [1192.168.1.1]
dhcp4: no
version: 2
# 检查
netplan try
# 参考
上次更新: 2023/10/03, 01:16:49