mkimage-profiles/features.in/oem/config.mk
Ivan A. Melnikov 3bf51ea7e6 oem: use/deflogin/root
This change sets the default root password to 'altlinux'
for all the images that employ use/oem feature.
This password will be reset by the configuration wizard at
the first boot and cannot be used to login
to ssh even if it's enabled out-of-the-box. So, 'happy
path' user experience of our distros does not change;
but it helps in troubleshooting the cases
when alterator-setup cannot start e.g. due to broken
graphics.

See https://lists.altlinux.org/pipermail/devel-distro/2021-April/002351.html
2021-04-22 01:32:36 +07:00

35 lines
1.2 KiB
Makefile

use/oem: use/services use/branding use/deflogin/root
@$(call add_feature)
@$(call add,DEFAULT_SERVICES_ENABLE,messagebus alteratord)
@$(call add,THE_PACKAGES,alterator-setup alterator-notes)
@$(call add,THE_PACKAGES,rootfs-installer-features)
@$(call add,THE_BRANDING,alterator notes)
@$(call try,OEM_TARGET,setup)
@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
@$(call xport,OEM_TARGET)
@$(call xport,OEM_NO_CLEANUP)
@$(call xport,OEM_STEPS)
@$(call xport,OEM_INSTALL)
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
@$(call set,OEM_TARGET,setup-vnc)
@$(call set,NMCTL,no)
@$(call xport,NMCTL)
use/oem/no-cleanup: use/oem
@$(call set,OEM_NO_CLEANUP,yes)
use/oem/distro: use/oem
@$(call try,OEM_STEPS,sysconfig notes-license datetime \
preinstall net-eth root users setup-finish)
@$(call add,THE_PACKAGES,alterator-net-eth)
@$(call add,THE_PACKAGES,installer-common-stage3)
use/oem/install: use/oem use/repo/main
@$(call set,OEM_INSTALL,yes)
@$(call try,OEM_STEPS,sysconfig notes-license datetime pkg \
preinstall net-eth root users setup-finish)
@$(call add,THE_PACKAGES,alterator-pkg alterator-net-eth)
@$(call add,THE_PACKAGES,installer-common-stage3)