34 lines
706 B
Plaintext
34 lines
706 B
Plaintext
#cloud-config
|
|
preserve_hostname: false
|
|
manage_etc_hosts: true
|
|
ssh_pwauth: true
|
|
|
|
users:
|
|
- name: guofang
|
|
gecos: Guofang
|
|
groups: [wheel]
|
|
shell: /bin/bash
|
|
sudo: "ALL=(ALL) NOPASSWD: ALL"
|
|
lock_passwd: false
|
|
ssh_authorized_keys:
|
|
- @SSH_PUBKEY@
|
|
hashed_passwd: $6$0NtCERV3eO12t9oJ$nlFE2sSc66nFfuD5X0xMnOla1cuzOnHfeGNRY5X7dCDHg.WzWVmuRe7M17Puj44.eCWLnJAWt4WNjd9vP9X0D0
|
|
|
|
chpasswd:
|
|
expire: false
|
|
|
|
package_update: true
|
|
|
|
packages:
|
|
- "@gnome-desktop"
|
|
|
|
runcmd:
|
|
- [systemctl, set-default, graphical.target]
|
|
# - [systemctl, enable, gdm.service]
|
|
|
|
power_state:
|
|
delay: now
|
|
mode: reboot
|
|
message: "GNOME installation completed; rebooting into graphical mode."
|
|
condition: true
|