kazulog@sv1:~$ for f in /etc/netplan/*.yaml /etc/hosts /etc/nsswitch.conf; do echo "===== $f"; sudo cat "$f" 2>/dev/null; done ===== /etc/netplan/50-cloud-init.yaml network: version: 2 ethernets: ens2: addresses: - "10.19.12.11/16" nameservers: addresses: - 10.1.0.1 - 10.1.0.2 dhcp4: false routes: - to: "default" via: "10.19.0.1" ===== /etc/netplan/60-ens3.yaml network: version: 2 ethernets: ens3: dhcp4: false dhcp6: true accept-ra: true addresses: - 192.168.100.10/24 routes: - to: default via: 192.168.100.1 metric: 200 nameservers: addresses: [192.168.100.1] search: [kazulog.example] ===== /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # 127.0.1.1 ubuntu sv1 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters ===== /etc/nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: files systemd group: files systemd shadow: files systemd gshadow: files systemd hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis