A custom modification of the virt-install-cloud.sh script located at https://github.com/clauded/virt-tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt-install-cloud/user-data

24 lines
401 B

#cloud-config
users:
- name: testuser
lock-passwd: false
passwd: hashed-passwd-here
ssh_authorized_keys:
- ssh-key-here
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo
shell: /bin/bash
ssh_pwauth: True
package_upgrade: true
apt_upgrade: false
#manage_etc_hosts: localhost
manage_etc_hosts: true
fqdn: %FQDN%
datasource_list:
- ConfigDrive
packages:
- openssh-server
runcmd: