← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1951846] [NEW] user-data not applied with YAML start and end markers

 

Public bug reported:

1. NoCloud

2.
---
#cloud-config
users:
  - name: user
    lock_passwd: false
    plain_text_passwd: '123'
    shell: /bin/bash
    ssh_authorized_keys:
      - <SSH public key>
    sudo: ALL=(ALL) NOPASSWD:ALL
...

3. I did.

4. I attached it.

Bug description:
If I write YAML document start and end markers in the user-data file (--- and ...), user data isn't applied to my cloud image. If I don't use them, user-data works normally. In the documentation, however, it says that any valid YAML is accepted.

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.tar.gz"
   https://bugs.launchpad.net/bugs/1951846/+attachment/5542630/+files/cloud-init.tar.gz

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1951846

Title:
  user-data not applied with YAML start and end markers

Status in cloud-init:
  New

Bug description:
  1. NoCloud

  2.
  ---
  #cloud-config
  users:
    - name: user
      lock_passwd: false
      plain_text_passwd: '123'
      shell: /bin/bash
      ssh_authorized_keys:
        - <SSH public key>
      sudo: ALL=(ALL) NOPASSWD:ALL
  ...

  3. I did.

  4. I attached it.

  Bug description:
  If I write YAML document start and end markers in the user-data file (--- and ...), user data isn't applied to my cloud image. If I don't use them, user-data works normally. In the documentation, however, it says that any valid YAML is accepted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1951846/+subscriptions



Follow ups