Packer.Images/packer/preseed/UbuntuServer20.04/user-data
djpbessems 37ecd4a1b9
Some checks failed
continuous-integration/drone/push Build is failing
Update password
2022-04-25 09:51:31 +02:00

29 lines
729 B
Plaintext

#cloud-config
autoinstall:
version: 1
locale: en_US
keyboard:
layout: en
variant: us
network:
network:
version: 2
ethernets:
ens192:
dhcp4: true
storage:
layout:
name: direct
identity:
hostname: packer-template
username: ubuntu
password: $6$RdtJDMbG4TPPGe6C$H3JaBhH3G4/Ywp7c/FOUBnxaQfXMp2ogIzCFAbw4cAFt4pErNkxdmTca3i1zUW7dNk00sk7tcIZ1Hu0uf/f2O0
# password: $6$rounds=4096$ZKfzRoaQOtc$M.fhOsI0gbLnJcCONXz/YkPfSoefP4i2/PQgzi2xHEi2x9CUhush.3VmYKL0XVr5JhoYvnLfFwqwR/1YYEqZy/
ssh:
install-server: yes
allow-pw: true
user-data:
disable_root: false
late-commands:
- echo 'ubuntu ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/ubuntu