A "hack" is putting cloudinit-userdata into Juju's model-config. Obviously, it's not for production usage since it will miss all security fixes so far. Also, the hack must be removed from the filesystem and model-config once this issue settles.
[focal] ==== cloudinit-userdata: | write_files: - content: | Package: mysql-router Pin: release a=focal Pin-Priority: 1001 owner: "root:root" path: /etc/apt/preferences.d/mysql-router-hack permissions: "0664" ====
[jammy] ==== cloudinit-userdata: | write_files: - content: | Package: mysql-router Pin: release a=jammy Pin-Priority: 1001 owner: "root:root" path: /etc/apt/preferences.d/mysql-router-hack permissions: "0664" ====
A "hack" is putting cloudinit-userdata into Juju's model-config. Obviously, it's not for production usage since it will miss all security fixes so far. Also, the hack must be removed from the filesystem and model-config once this issue settles.
[focal]
Pin-Priority: 1001 preferences. d/mysql- router- hack
====
cloudinit-userdata: |
write_files:
- content: |
Package: mysql-router
Pin: release a=focal
owner: "root:root"
path: /etc/apt/
permissions: "0664"
====
[jammy]
Pin-Priority: 1001 preferences. d/mysql- router- hack
====
cloudinit-userdata: |
write_files:
- content: |
Package: mysql-router
Pin: release a=jammy
owner: "root:root"
path: /etc/apt/
permissions: "0664"
====