Use nocloud yaml provider for autoinstall
Would be nice if we could use tiny-cloud-nocloud as the base for headless/unattended installer.
The idea is to make the alpine iso images look for LABEL=cidata
and enable tiny-cloud-nocloud if found.
Then users could simply add a seed.iso
user-data
#cloud-config
yaml file to perform autoinstall.
The auto installer should be able to:
-
set local hostname before network setup (init-early) so its available for DHCP client -
set hostname (init-main) after network is up -
configure network -
create users -
add ssh keys for created users -
add ssh keys for default user (!37 (merged)) -
enable sshd -
install packages -
runcmd
to run commands
Future versions could also have support for setting up disk.