diff options
Diffstat (limited to 'bin/debefivm-create')
-rwxr-xr-x | bin/debefivm-create | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/debefivm-create b/bin/debefivm-create index 6efc204..d68d647 100755 --- a/bin/debefivm-create +++ b/bin/debefivm-create @@ -69,9 +69,11 @@ The following tasks may be skipped. =item B<autologin> -Skips adding a the customize-autologin.sh to B<mmdebstrap> that configures -automatic root login on a serial console and also parses the C<TERM> kernel -cmdline and passes it as C<TERM> to B<agetty>. +Do not setup the machine for automatic password-less root login on the console. +This comprises the following changes that would normally be performed. +Automatic root login is configured for the init systems B<finit>, B<runit>, B<systemd> and B<sysv>. +Forwarding of the C<TERM> kernel command line to B<agetty> is configured. +The root password is deleted such that a login does not ask for it and the system directly boots to a shell prompt. =item B<kernel> @@ -358,9 +360,6 @@ set -- \ "--customize-hook=printf '$ETC_HOSTS_TEMPLATE' '$VMNAME' >"'"$1/etc/hosts"' \ "$@" -# allow password-less root login -set -- "--customize-hook=$SHARE_DIR/customize-delete-rootpw.sh" "$@" - if ! check_skip systemdnetwork; then # dhcp on all network interfaces, and add a dns resolver set -- \ @@ -392,7 +391,8 @@ fi if ! check_skip autologin; then set -- \ --include=login \ - "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@" + "--customize-hook=$SHARE_DIR/customize-autologin.sh" \ + "--customize-hook=$SHARE_DIR/customize-delete-rootpw.sh" "$@" fi # By default, Debian mounts the EFI System Partition to /boot/efi. Keep that |