vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
#network:
# ethernets:
# ens33:
# dhcp4: true
# version: 2
network:
ethernets:
ens33:
dhcp4: no
addresses: [192.168.150.130/24]
gateway4: 192.168.150.2
optional: true
nameservers:
addresses: [223.5.5.5,223.6.6.6]
version: 2
netplan apply