From 9228b3df09f92771da364c13e388b22aafd2d37c Mon Sep 17 00:00:00 2001 From: Neill Cox Date: Mon, 25 Sep 2023 20:16:12 +1000 Subject: [PATCH] Another network config attempt - 6 --- src/tripleo_aio_helpers/create_aio_vm.py | 1 + src/virt-install/user-data.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tripleo_aio_helpers/create_aio_vm.py b/src/tripleo_aio_helpers/create_aio_vm.py index 468e385..1dd4ba8 100644 --- a/src/tripleo_aio_helpers/create_aio_vm.py +++ b/src/tripleo_aio_helpers/create_aio_vm.py @@ -109,6 +109,7 @@ def create_image(args): if args.verbose: print(result) + print("Image resized") def virt_install_cmd(args): """Build and execute the virt-install command""" diff --git a/src/virt-install/user-data.tpl b/src/virt-install/user-data.tpl index 5bb01db..f52e0ca 100644 --- a/src/virt-install/user-data.tpl +++ b/src/virt-install/user-data.tpl @@ -12,7 +12,7 @@ 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" + # - "service sshd restart" # runcmd: # - "subscription-manager register --username {data.rhn_user} --password '{data.rhn_password}'" # - "subscription-manager release --set=8.4"