Fix userdata template - 2
This commit is contained in:
parent
1ef34736c8
commit
be22af059c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {data.rh_username} --password '{data.rh_password}'"
|
- "subscription-manager register --username {data.rhn_username} --password '{data.rhn_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=*"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue