Patches welcome on this if we don't get to it soon enough, the upstream code that represents this file is here[1]
The postinstall logic will either need to be a bit smarter in to either early return from disable_network_config_on_upgrade if [ -z ${oldver} ]. Or disable_network_config_on_upgrade should probably only be invoked within a scope of a conditional like `if [ "$1" = "upgrade" ]; then` instead or `if [ "$1" = "configure" ]; then`
We can happily help steer folks to a improve out postinst here if so desired.
Our contributing docs are here[2]
Patches welcome on this if we don't get to it soon enough, the upstream code that represents this file is here[1] network_ config_ on_upgrade if [ -z ${oldver} ]. Or disable_ network_ config_ on_upgrade should probably only be invoked within a scope of a conditional like `if [ "$1" = "upgrade" ]; then` instead or `if [ "$1" = "configure" ]; then`
The postinstall logic will either need to be a bit smarter in to either early return from disable_
We can happily help steer folks to a improve out postinst here if so desired.
Our contributing docs are here[2]
references: /github. com/canonical/ cloud-init/ blob/ubuntu/ devel/debian/ cloud-init. postinst /cloudinit. readthedocs. io/en/latest/ development/ contributing. html#contributi ng
[1] https:/
[2] https:/