_config: _common_config
_common_config: ${CFGROOT}
ln -sf /dev/null "$${CFGROOT}/etc/systemd/network/99-default.link"
+ printf '\nsession optional pam_mkhomedir.so umask=0027\n' >>"$${CFGROOT}/etc/pam.d/common-session"
printf 'LABEL=FSROOT / ext4 auto,nofail,rw 0 0\nLABEL=BOOT /boot vfat auto,nofail,ro 0 0\n' \
>"$${CFGROOT}/etc/fstab"
_users: ${CFGROOT}
for u in $(subst ${comma_},${space_},${users}); do \
- chroot "$${CFGROOT}" useradd -m -s /bin/bash -p "$$(openssl passwd "")" "$$u"; \
+ chroot "$${CFGROOT}" useradd -s /bin/bash -p "$$(openssl passwd "")" "$$u"; \
done
_hostname: ${CFGROOT}