Comment 9 for bug 1802322

Dmitrii Shcherbakov (dmitriis) wrote :

As a temporary measure for Juju deployments this can be used as a workaround:

cat userdata-netplan.yaml
cloudinit-userdata: |
   preruncmd: sed -i '/set-name/d' /etc/netplan/50-cloud-init.yaml

# before `juju deploy`
juju model-config userdata-netplan.yaml