#cloud-config
password: osm4u
chpasswd: { expire: False }
ssh_pwauth: True

write_files:
-   content: |
        network:
            version: 2
            ethernets:
                ens3:
                    dhcp4: true
                ens4:
                    dhcp4: true
                ens5:
                    dhcp4: true
    owner: root:root
    permissions: '0644'
    path: /etc/netplan/01-netcfg.yaml

runcmd:
-   [ mv, /etc/netplan/50-cloud-init.yaml, /etc/netplan/50-cloud-init.yaml.bak ]
-   [ netplan, apply ]
