cpe-deployments/config/juju-model-default.yaml
Arif Ali 587464e092
Add multiple files and update many configs
* Add extra text vlan info bucketsconfig.yaml and networks.yaml
* Use ubuntu charm for juju controller, and rename it
* Remove prometheus-ceph-exporter, as this is not longer working in ussuri
* Add ceph-mon to prometheus relation for ceph metrics
* use ceph-osd instead of nova-compute for telegraf
* Update lxd-snap-channel to 5.0/stable
* Add SSL details to juju_deploy_focal script
* Update certs
* Add default password for grafana
* Generalise tag creation in Landscape based on juju
* Usef FQDN for landscape urls
2022-07-12 21:12:31 +01:00

47 lines
1.3 KiB
YAML

cloudinit-userdata: |
apt:
primary:
- arches: [amd64]
uri: http://192.168.1.12/archive.ubuntu.com/ubuntu
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 && sudo snap remove --purge lxd"
- "! 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
snap:
commands:
"00": systemctl restart snapd
apt-mirror: http://192.168.1.12/archive.ubuntu.com/ubuntu
lxd-snap-channel: "5.0/stable"
container-image-metadata-url: http://192.168.1.12/lxd/
container-image-stream: released
agent-metadata-url: http://192.168.1.12/juju/tools/
agent-stream: released