Bug 2251473

Summary: Red Hat Satellite Image based provisioning of RHEL9 using cloud-init and userdata still creates deprecated ifcfg files
Product: Red Hat Satellite Reporter: soham <smajumda>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.5CC: lstejska, s.heijmans, sshtein
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-28 12:07:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description soham 2023-11-25 13:44:23 UTC
Description of problem:
Red Hat Satellite 6 Image based provisioning of RHEL9 using cloud-init and userdata still creates deprecated ifcfg files


How reproducible: Always


Steps to Reproduce:
1. Create an image for RHEL9.3 with the steps mentioned in https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/provisioning_hosts/provisioning_virtual_machines_in_vmware_vmware-provisioning#Using_VMware_Cloud_Init_and_Userdata_Templates_for_Provisioning_vmware-provisioning


2. Use this image to provision a RHEL9.3 host on satellite.


Actual results:

[root@byron-voorhees ~]# ll /etc/sysconfig/network-scripts/
total 8
-rw-r--r--. 1 root root  338 Nov 25 12:24 ifcfg-ens32
-rw-r--r--. 1 root root 1244 Aug 31 08:08 readme-ifcfg-rh.txt


# nmcli conn show
NAME   UUID                                  TYPE      DEVICE 
ens32  152beb06-47c5-c5e8-95a9-385590654382  ethernet  ens32  
lo     3e2c212c-76c5-4927-bd92-9858b7fcd580  loopback  lo    



Expected results:
ifcfg files are deprecated and should not be used.

Additional info:
We have bz https://bugzilla.redhat.com/show_bug.cgi?id=2135787 for satellite but this bz is raised mainly for cloud-init & userdata.

Comment 3 Leos Stejskal 2023-11-28 12:07:21 UTC

*** This bug has been marked as a duplicate of bug 2135787 ***

Comment 4 Leos Stejskal 2023-11-28 12:10:24 UTC
Marked as duplicate, customer case have been copied to https://bugzilla.redhat.com/show_bug.cgi?id=2135787