Edit the file in /etc/netplan/50-cloud-init.yaml file like the following
network:
ethernets:
enp0s3:
dhcp4: false
addresses: [192.168.56.101/24]
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
enp0s8:
addresses: []
dhcp4: true
optional: true
version: 2
No comments:
Post a Comment