Fix userdata template

This commit is contained in:
Neill Cox 2023-09-25 10:45:45 +10:00
parent 8f48d6ce04
commit 1ef34736c8

View file

@ -13,7 +13,7 @@ bootcmd:
- "nmcli con add con-name eth0 ifname eth0 type ethernet ip4 {data.cidr_1} gw4 {data.gateway} ipv4.dns {data.dns}" - "nmcli con add con-name eth0 ifname eth0 type ethernet ip4 {data.cidr_1} gw4 {data.gateway} ipv4.dns {data.dns}"
- "nmcli con add con-name eth1 ifname eth1 type ethernet ip4 {data.cidr_2} gw4 {data.gateway} ipv4.dns {data.dns}" - "nmcli con add con-name eth1 ifname eth1 type ethernet ip4 {data.cidr_2} gw4 {data.gateway} ipv4.dns {data.dns}"
runcmd: runcmd:
- "subscription-manager register --username {args.rh_username} --password '{args.rh_password}'" - "subscription-manager register --username {data.rh_username} --password '{data.rh_password}'"
- "subscription-manager release --set=8.4" - "subscription-manager release --set=8.4"
- "dnf install -y dnf-utils" - "dnf install -y dnf-utils"
- "subscription-manager repos --disable=*" - "subscription-manager repos --disable=*"