#cloud-config users: - name: jerome ssh_authorized_keys: - ssh-rsa AAAAB3xxx...x8= jerome@localhost sudo: ['ALL=(ALL) NOPASSWD:ALL'] shell: /bin/bash groups: wheel runcmd: - cp /etc/skel/.bash* /home/jerome/ - chown jerome:jerome /home/jerome/.bash* - hostnamectl set-hostname centos write_files: - path: /home/jerome/helloworld content: | #!/bin/bash echo "Hello World !" permissions: 0755