Bug 2190439

Summary: cloudInitConfigDrive yaml contains cloudInitNoCloud content
Product: Container Native Virtualization (CNV) Reporter: Dominik Holler <dholler>
Component: User ExperienceAssignee: Tal Nisan <tnisan>
Status: NEW --- QA Contact: Guohua Ouyang <gouyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.3CC: jeremy.coulombe
Target Milestone: ---   
Target Release: ---   
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: 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 Dominik Holler 2023-04-28 12:31:40 UTC
Description of problem:
cloudInitConfigDrive yaml contains cloudInitNoCloud content


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create VM from Catalog
2. Customize Virtual Machine
3. Review and create VirtualMachine -> Scripts -> Cloud-init -> Edit -> Add network data and fill in some values


Actual results:


        - cloudInitConfigDrive:
            networkData: |
              network:
                version: '1'
                config:
                  - type: physical
                    name: eth0
                    subnets:
                      - type: static
                        address:
                          - 10.0.2.2
                        gateway: 10.0.2.1

Expected results:
something like

        - cloudInitNoCloud:
            networkData: |
              network:
                version: 1
                config:
                  - type: physical
                    name: eth0
                    subnets:
                      - type: static
                        address: 10.0.2.2
                        gateway: 10.0.2.1

or maybe cloudInitConfigDrive network_data.json in userdata

Additional info:
Is the cloud-init network config