Skip to content
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

Guestcustomization for Centos Stream 10 / RHEL 10 broken #758

Open
jpbuecken opened this issue Jan 30, 2025 · 0 comments
Open

Guestcustomization for Centos Stream 10 / RHEL 10 broken #758

jpbuecken opened this issue Jan 30, 2025 · 0 comments
Labels

Comments

@jpbuecken
Copy link

Describe the bug

Hello,

we are currently testing with CentOS Stream 10 / Redhat Enterprise Linux 10.
Unfortunately, the vmware guest customization fails in the network part.
We already found the root cause.

Network management is done via network manager in CentOS 10. A network manager connection profile is created successfully, but the guest customization still wants to create
/etc/sysconfig/network-scripts/ifcfg-ethX
files. But the folder
/etc/sysconfig/network-scripts/
does not exist, so it fails.

This is the message from the toolsDeployPkg.log
2025-01-30T13:06:47 DEBUG: opening file for writing (/etc/sysconfig/network-scripts/ifcfg-eth0).
2025-01-30T13:06:47 ERROR: Fatal error occurred during customization !! Customization halted.
2025-01-30T13:06:47 ERROR: Error : No such file or directory:Error writing data to file (/etc/sysconfig/network-scripts/ifcfg-eth0). No such file or directory at /var/run/.vmware-imgcust-dYgea8Y/scripts/Utils.pm line 655.

Version:
open-vm-tools-12.5.0-1.el10.x86_64

Reproduction steps

  1. Use CentOS Stream 10 vapp template to deploy a VM with guest customization.
  2. see error above

Expected behavior

open-vm-tools should not try to create ifcg files on CentOS or RHEL 10. They have been deprecated with RHEL 9

Additional context

No response

@jpbuecken jpbuecken added the bug label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant