ubuntu@ubuntu:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=impish
ubuntu@ubuntu:~$ cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true optional: true
match: driver: bcmgenet smsc95xx lan78xx set-name: eth0
version: 2
---------- DID THE UPGRADE WITH PROPOSED ----------
ubuntu@ubuntu:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
ubuntu@ubuntu:~$ cat /etc/netplan/50-cloud-init.yaml
network:
ethernets:
eth0:
dhcp4: true
optional: true
version: 2
ubuntu@ubuntu:~$ ping -c3 -I eth0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.4.137 eth0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=5.72 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=6.98 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=5.08 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 5.078/5.926/6.980/0.789 ms
The verification passed for jammy:
ubuntu@ubuntu:~$ cat /etc/os-release CODENAME= impish /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= impish 50-cloud- init.yaml cloud.cfg. d/99-disable- network- config. cfg with the following:
optional: true
driver: bcmgenet smsc95xx lan78xx
set- name: eth0
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
ubuntu@ubuntu:~$ cat /etc/netplan/
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true
match:
version: 2
---------- DID THE UPGRADE WITH PROPOSED ----------
ubuntu@ubuntu:~$ cat /etc/os-release CODENAME= jammy /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= jammy 50-cloud- init.yaml
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
ubuntu@ubuntu:~$ cat /etc/netplan/
network:
ethernets:
eth0:
dhcp4: true
optional: true
version: 2
ubuntu@ubuntu:~$ ping -c3 -I eth0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.4.137 eth0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=5.72 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=6.98 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=5.08 ms
--- 8.8.8.8 ping statistics --- 926/6.980/ 0.789 ms
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 5.078/5.