Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-17939

[2081202] cloud-init for Windows VM generated with corrupted "undefined" section

XMLWordPrintable

    • Important
    • No

      Description of problem:
      Using wizard to create cloud-init for Windows 2019 server VM creates a strange set of entries in the userData. (see below)

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

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create Windows VM using wizard (2019 server)
      2. Customize VM and add cloud-init with data
      3. View resulting YAML

      Actual results:

      • cloudInitNoCloud:
        userData: |
        #cloud-config
        '0': u
        '1': 'n'
        '2': d
        '3': e
        '4': f
        '5': i
        '6': 'n'
        '7': e
        '8': d
        user: admin
        password: changeme
        hostname: uggabug
        ssh_authorized_keys:
      • >-
        ssh-rsa

      Expected results:

      • cloudInitNoCloud:
        userData: |
        #cloud-config
        user: Admin
        password: changeme
        hostname: uggabug
        ssh_authorized_keys:
      • >-
        ssh-rsa

      Additional info:

              tnisan@redhat.com Tal Nisan
              rh_cwilkers Chandler Wilkerson
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: