virt-install-cloud/user-data

26 lines
455 B
Plaintext
Raw Normal View History

2018-04-09 22:46:46 -06:00
#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
2018-04-10 09:48:50 -06:00
- nano
2018-04-09 22:46:46 -06:00
runcmd:
- [ touch, /etc/cloud/cloud-init.disabled ]