- Go to Harvester web interface
- Go to Virtual Machines
- Go to Advanced
- Select Cloud Configuration Templates
- Click Create
- Set Template Type to User Data
- Enter this Userdata template for example
#cloud-config
users:
- name: awktopo
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo
shell: /bin/bash
ssh-authorized-keys:
- ssh-rsa xxxx.xxxxx awkto@box
chpasswd:
expire: False
ssh_pwauth: False
- Hit Save/Create