Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created May 6, 2017 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/8bfc2312756fb957cced4b389c5e9839 to your computer and use it in GitHub Desktop.
Save gowatana/8bfc2312756fb957cced4b389c5e9839 to your computer and use it in GitHub Desktop.
#cloud-config
hostname: cloudinit-test-01
write_files:
- path: /opt/test.f
content: |
cloud-init no
test file
users:
- name: ntnx-user
groups: wheel
shell: /bin/bash
sudo: ['ALL=(ALL) NOPASSWD:ALL']
ssh-authorized-keys:
- ssh-rsa XXXXXXXXXXXXXXXXXXXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment