GitHub user n4l5u0r deleted a comment on the discussion: CKS Enhancements - 
Custom CNI Documentation

hey @chunkyen your issue is certainly coming from your wrongly formed user-data 
YAML file, I have the same issue and still trying to solve it.

The carriage return at the end of the first `ssh_authorized_keys` breaks 
everything.

```yaml

---
users:
  - name: cloud
    sudo: ALL=(ALL) NOPASSWD:ALL
    shell: /bin/bash
    ssh_authorized_keys:
      - "ecdsa-sha2-nistp256 
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEw7nWZQ/cARfNvn5nEwbsymN06YCaB6vYvDZh2Gjy2fWKUYorI1q8c2vuplD7sOLeuuRac41QacbGePT6Vjv6o=
 [email protected]
"
      - "ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABgQDEMq56nzbEcTPzXz0NvEFu8gXGG6FWDr9sF+veGU2J4BAqTooXSXBLGZgfnE8omzTcRpbLjxMEiXqaHHK2Rp0sSPJ433DrSYPTaN9G5duECAf1yC6lT0fH3/Kp+iQvm9YczdWp6YaFbIDAOgGjtri215xJGgY3e4pnV8cdmFQ+A5qYovhiTRKbdvQ1xOMJHSG2ePo+rLWI/xnKv3vmEKtIu9yxIaQYE6cH7N8Yqr1K0HiB0PuWRD+Gn97i2MuCQp1pMAMWRfRJpxlQE91IaCROBIoo+2CZDF+GGCAOAhNKBIhvHQmLrFlOMdqXmwa12vXY6riao42NAfQNK5P+S3MGXn90a4wX3fyi61ElzLQizVDCJU81kiwbeHh4faVM/l+jxjAHZga6OPyA2lJMRIXskvYTaKrUjZRdYn8t4H/ryGhZpLhssV/e2BQkvcQGj4Sp9n66d5HdLutyBLYTii2tvBB9hrRXfMYQWFPNtlW0U/LbwvOEN9z1AFGk95G0yqU="

write_files:
  - path: /etc/conf.d/nfs
    permissions: '0644'

```



GitHub link: 
https://github.com/apache/cloudstack/discussions/11692#discussioncomment-14911623

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to