Update asrock03, maas config for new API, and now use jammy, updaate sysctl configs

This commit is contained in:
Arif Ali 2024-09-24 20:14:05 +01:00
parent 8d3643026b
commit 91e774940a
Signed by: arif
GPG Key ID: 369608FBA1353A70
3 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
hypervisor_name=asrock03
hypervisor_ip=10.0.1.243
hypervisor_mac="a8:a1:59:44:73:f0"
hypervisor_mac="9c:6b:00:3f:98:29"
hypervisor_tag="asrock"
ip_suffix=243

View File

@ -1,6 +1,6 @@
juju_version="2.9/stable"
juju_version="3/stable"
juju_ha="true"
juju_bootstrap_series="bionic"
juju_bootstrap_series="jammy"
launchpad_user="arif-ali"
package_repository="http://192.168.1.12/archive.ubuntu.com/ubuntu/"
maas_bridge_ip="10.0.1.253"
@ -13,11 +13,11 @@ maas_profile="admin"
maas_system_ip="192.168.1.22"
maas_upstream_dns="192.168.1.13"
maas_user="admin"
maas_version="2.9"
maas_version="3.4"
#no_proxy="localhost,127.0.0.1,$maas_system_ip"
#squid_proxy="http://192.168.1.23:3128"
maas_pkg_type="snap"
maas_api_key="cP5gj8RyemEhBLvyKG:AmRXEzR8MPAbRPWGBH:7T9LPemF3gAPe3qwr47rXAkLWZysjeRB"
maas_api_key="dSPcjd62cqS8USHE8q:SYjwagWHgUFvPwVBBx:mq8mqau4fWYZ2jtJPjk8Lj3W8Mtr7ZuJ"
maas_subnet_start="10.0.1.1"
maas_subnet_end="10.0.1.99"
maas_dhcp_start_postfix="1"

View File

@ -104,6 +104,11 @@ write_files:
link-local: []
permissions: '0644'
owner: root:root
- path: /etc/sysctl.d/99-custom.conf
content: |
kernel.softlockup_all_cpu_backtrace=1
permissions: '0644'
owner: root:root
# Runs any command that we need to run post install
runcmd:
@ -112,3 +117,4 @@ runcmd:
- [ "/root/initial_setup.sh" ]
- [ "rm", "/root/initial_setup.sh" ]
- [ "netplan", "apply" ]
- [ "sysctl", "-p", "--system"]