Yep, still relevant there with 0.104-0ubuntu2~20.04.6:
$ sudo netplan set ethernets.eth0.activation-mode=off
Traceback (most recent call last):
File "/usr/sbin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 56, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 250, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/set.py", line 55, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 250, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/set.py", line 126, in
command_set
self.write_file(subtree, hint + '.yaml', self.root_dir)
File "/usr/share/netplan/netplan/cli/commands/set.py", line 193, in write_file
libnetplan.netplan_parse(tmpp)
File "/usr/share/netplan/netplan/libnetplan.py", line 64, in netplan_parse
raise Exception(err.contents.message.decode('utf-8'))
Exception: /tmp/netplan-set_grfx4ltd/etc/netplan/50-cloud-init.yaml:4:24: Error
in network definition: Value of 'activation-mode' needs to be 'manual' or 'off'
activation-mode: false
^
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975678
Title:
Netplan generates the wrong YAML value when setting activation-
mode=off
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1975678/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs