* Added local repos for everything * Add focal related stuff to start migrating * Add/fix CIS related stuff * Update/fix juju model defaults * Add model defaults just before the juju deploy * Add new script to initialise vault * Update vault keys to current mode
33 lines
924 B
YAML
33 lines
924 B
YAML
cloudinit-userdata: |
|
|
write_files:
|
|
- owner: root:root
|
|
path: /root/99-post-juju.yaml
|
|
permissions: '0644'
|
|
content: |
|
|
network:
|
|
version: 2
|
|
ethernets:
|
|
ens3:
|
|
link-local: []
|
|
ens4:
|
|
link-local: []
|
|
ens5:
|
|
link-local: []
|
|
ens6:
|
|
link-local: []
|
|
ens7:
|
|
link-local: []
|
|
ens8:
|
|
link-local: []
|
|
ens9:
|
|
link-local: []
|
|
preruncmd:
|
|
- locale-gen en_GB.UTF-8; update-locale
|
|
- "systemd-detect-virt --container && rm -rf /root/99-post-juju.yaml"
|
|
- "! systemd-detect-virt --container && mv /root/99-post-juju.yaml /etc/netplan/99-post-juju.yaml"
|
|
- "! systemd-detect-virt --container && sudo lxc profile set default security.nesting true"
|
|
- sudo netplan apply
|
|
|
|
default-series: "bionic"
|
|
apt-mirror: http://192.168.1.12/archive.ubuntu.com/ubuntu
|