summary refs log tree commit diff
path: root/dracut/vmklive-adduser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dracut/vmklive-adduser.sh')
-rw-r--r--dracut/vmklive-adduser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/vmklive-adduser.sh b/dracut/vmklive-adduser.sh
index 9f95c65..57d25d8 100644
--- a/dracut/vmklive-adduser.sh
+++ b/dracut/vmklive-adduser.sh
@@ -21,7 +21,7 @@ fi
 # Enable autologin for getty(1).
 if [ -f ${NEWROOT}/lib/systemd/system/getty@.service ]; then
         rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"
-	sed -e "s|/sbin/agetty|/sbin/live-getty|g" \
+	sed -e "s|/sbin/agetty --noclear|/sbin/live-getty|g" \
                 "${NEWROOT}/lib/systemd/system/getty@.service" > \
                 "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"
 fi