Hide default cloud-init config from user
We're currently showing people this in the "launch server" view:
The default contents of cloud-init user data:
#cloud-config
users:
- default
- name: exouser
shell: /bin/bash
groups: sudo, admin
sudo: ['ALL=(ALL) NOPASSWD:ALL']
packages:
- cockpit
runcmd:
- systemctl enable cockpit.socket
- systemctl start cockpit.socket
- systemctl daemon-reload
chpasswd:
list: |
exouser:changeme123
expire: False
We need this stuff to set up Cockpit/Terminal and allow access to same, but we probably don't need to expose the guts to most users.
User has two choices:
- By default, Exosphere manages cloud-init data. Generates random Cockpit/Terminal username and password, perhaps provides affordances to tweak install "things" (Space Junk), and manipulates user data behind the scenes to achieve user's desired outcome.
- Enter your own custom cloud-init user data, perhaps starting from what Exosphere would use, but you are free to modify it.