Change model default config

Hi
I’m trying to change the enable-os-upgrade to false in the default config, but doing ‘juju model-defaults enable-os-upgrade=false’ doesn’t change the default value.
Do I need to do something else?

What version of juju are you using, I just tested this locally with develop to verify.

$ juju model-defaults enable-os-upgrade=false

$ juju model-defaults enable-os-upgrade
Attribute          Default  Controller
enable-os-upgrade  true     false

$ juju add-model test

$ juju model-config enable-os-upgrade
False

Don’t forget you’re changing the model-defaults not the model-config.

$ juju model-config enable-os-upgrade
False

$ juju model-config enable-os-upgrade=True

$ juju model-config enable-os-upgrade
True

mmmm yes, creating an empty model works.
I’m using juju with open source mano (OSM), so it may be overwriting the defaults.
Thanks