Deprecate user home directory creation from _make_customize_airootfs in favor of cloud-init
It should be possible to get rid of the first half of _make_customize_airootfs
by relying on cloud-init since cloud-init can create users upon boot.
The advantages are:
- Users would be created using regular methods (
useradd
) so their home would be populated from/etc/skel
without additionalmkarchiso
magic. - Passwords do not need to be manually hashed.
- Everything can be configured from a single
user-data
file.
For those wanting to forgo an additional CIDATA
drive, the NoCloud config can be build-in the rootfs by placing it in /var/lib/cloud/seed/nocloud{,-net}/
.