From 4b469dffb9f4755ecf42f306c4f655b94e6ea4c4 Mon Sep 17 00:00:00 2001 From: Neill Cox Date: Mon, 25 Sep 2023 20:23:11 +1000 Subject: [PATCH] Another network config attempt - 7 --- src/virt-install/user-data.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/virt-install/user-data.tpl b/src/virt-install/user-data.tpl index f52e0ca..299e757 100644 --- a/src/virt-install/user-data.tpl +++ b/src/virt-install/user-data.tpl @@ -12,8 +12,8 @@ bootcmd: - "nmcli con modify 'Wired connection 1' ipv4.address {data.cidr_2} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}" - "nmcli networking off" - "nmcli networking on" - # - "service sshd restart" -# runcmd: +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"