-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rocky 9.0 network customization is lost right after applying. #607
Comments
Hi @shanduur-dell |
@rongz609 unfortunately, the work around does not seem to work. I modified [main]
plugins=ifcfg-rh,keyfile
... And followed the instruction to modify the [connection]
autoconnect-priority=-999
... Unfortunately, this did not solved the issue. The ifcfg-rh file created by customization engine is called
|
The KB says "Edit /etc/NetworkManager/system-connections/{NAME}.connection file(s)." I saw you modified abc123.nmconnection. |
According to your attached toolsDeployPkg.log, I saw you have four NICs in your VM, eth0, eth1, eth2 and eth3 The "NAME" in /etc/Ne†workManager/system-connections/{NAME}.connection means your NIC interface name. |
I do not have any |
OK, can you run command "(sudo) nmcli -f ALL connection show" |
In your toolsDeployPkg.log, I found: Seems that you are using Red Hat 7.6. |
No, I am using Rocky Linux 9.0 (ISO:
|
|
Looks like I uploaded wrong Log file, here is correct one: |
OK, got it. |
|
OK, your vCenter is too old. Let me summarize the steps:
If you upgrade your vCenter to 6.7U3p, then you just need to follow https://kb.vmware.com/s/article/88199. |
Thank you for your help @rongz609 ! |
Glad to help:) |
Describe the bug
After building the VM using Packer for vSphere, I am booting the test VM. It picks the Hostname (but not IP), and saves it in
/etc/sysconfig/network
and it is visible in the login panel, prompt and as a output ofhostname
. After few seconds, a reboot happens and rebooted OS no longer has proper hostname, nor valid IP. Displayed IP is IP of the VM used for building template.Full log:
toolsDeployPkg.log (corrected)
Reproduction steps
Expected behavior
Network configuration is preserved after reboot.
Additional context
No response
The text was updated successfully, but these errors were encountered: