A default 22.10 installation configures netplan with gateway4 which is reported as deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Confirmed
|
Low
|
Skipper Bug Screeners | ||
subiquity |
Confirmed
|
Undecided
|
Dan Bungert |
Bug Description
I just noticed that a standard 22.10 installation produces a netplan yaml like this:
$ cat /etc/netplan/
# This is the network config written by 'subiquity'
network:
ethernets:
enc600:
addresses:
- 10.123.123.123/24
gateway4: 10.123.123.1
nameservers:
addresses:
- 10.123.123.1
version: 2
But netplan already reports the usage of 'gateway4' as deprecated:
$ sudo netplan apply --dry-run
** (generate:35929): WARNING **: 07:51:52.369: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:35927): WARNING **: 07:51:52.662: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:35927): WARNING **: 07:51:52.677: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:35927): WARNING **: 07:51:52.797: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (process:35927): WARNING **: 07:51:52.797: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
Changed in subiquity: | |
status: | New → Confirmed |
Changed in ubuntu-z-systems: | |
status: | New → Confirmed |
Looks like this is the same on a 22.04.1 installation.