Another network config attempt - 8

This commit is contained in:
Neill Cox 2023-09-25 20:27:04 +10:00
parent 4b469dffb9
commit b44b4978cd

View file

@ -14,20 +14,20 @@ bootcmd:
- "nmcli networking on"
runcmd:
- "service sshd restart"
# - "subscription-manager register --username {data.rhn_user} --password '{data.rhn_password}'"
# - "subscription-manager release --set=8.4"
# - "dnf install -y dnf-utils"
# - "subscription-manager repos --disable=*"
# - "subscription-manager repos --enable=rhel-8-for-x86_64-baseos-eus-rpms --enable=rhel-8-for-x86_64-appstream-eus-rpms --enable=rhel-8-for-x86_64-highavailability-eus-rpms --enable=ansible-2.9-for-rhel-8-x86_64-rpms --enable=openstack-16.2-for-rhel-8-x86_64-rpms --enable=fast-datapath-for-rhel-8-x86_64-rpms"
# - "dnf module disable -y container-tools:rhel8"
# - "dnf module enable -y container-tools:3.0"
# - "dnf update -y"
# - "echo '***************************************************************************'"
# - "echo '*** ***'"
# - "echo '*** ***'"
# - "'echo *** DNF UPDATE COMPLETE - REBOOT NOW ***'"
# - "echo '*** ***'"
# - "echo '*** ***'"
# - "echo '***************************************************************************'"
# - "reboot"
- "subscription-manager register --username {data.rhn_user} --password '{data.rhn_password}'"
- "subscription-manager release --set=8.4"
- "dnf install -y dnf-utils"
- "subscription-manager repos --disable=*"
- "subscription-manager repos --enable=rhel-8-for-x86_64-baseos-eus-rpms --enable=rhel-8-for-x86_64-appstream-eus-rpms --enable=rhel-8-for-x86_64-highavailability-eus-rpms --enable=ansible-2.9-for-rhel-8-x86_64-rpms --enable=openstack-16.2-for-rhel-8-x86_64-rpms --enable=fast-datapath-for-rhel-8-x86_64-rpms"
- "dnf module disable -y container-tools:rhel8"
- "dnf module enable -y container-tools:3.0"
- "dnf update -y"
- "echo '***************************************************************************'"
- "echo '*** ***'"
- "echo '*** ***'"
- "'echo *** DNF UPDATE COMPLETE - REBOOT NOW ***'"
- "echo '*** ***'"
- "echo '*** ***'"
- "echo '***************************************************************************'"
- "reboot"