This is no longer an issue with Netplan on 22.04 (tested with 0.106.1-7ubuntu0.22.04.4).
$ sudo netplan set ethernets.eth0.activation-mode=off $ sudo netplan get network: version: 2 ethernets: eth0: dhcp4: true activation-mode: "off"
This is no longer an issue with Netplan on 22.04 (tested with 0.106.1- 7ubuntu0. 22.04.4) .
$ sudo netplan set ethernets. eth0.activation -mode=off n-mode: "off"
$ sudo netplan get
network:
version: 2
ethernets:
eth0:
dhcp4: true
activatio