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

[2151521] No username set in cloud-init in the template example yaml

XMLWordPrintable

    • Moderate
    • None

      Description of problem:
      No username set in cloud-init in the template example yaml
      Which causes a VM created from this template, it cannot enable ssh service as no username is set.

      • cloudInitNoCloud:
        userData: |-
        #cloud-config
        password: '${CLOUD_USER_PASSWORD}'
        chpasswd: { expire: False }

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

      How reproducible:

      Steps to Reproduce:
      1. create template from default yaml
      2.
      3.

      Actual results:
      no username in the template's cloud-init data

      Expected results:
      username is set in the data

      Additional info:

              upalatuc@redhat.com Ugo Palatucci
              gouyang1@redhat.com Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: