dracut/vmklive-adduser.sh: strip --noclear from getty@.service.
This commit is contained in:
parent
a45a0d1448
commit
2ef7a175c0
@ -21,7 +21,7 @@ fi
|
|||||||
# Enable autologin for getty(1).
|
# Enable autologin for getty(1).
|
||||||
if [ -f ${NEWROOT}/lib/systemd/system/getty@.service ]; then
|
if [ -f ${NEWROOT}/lib/systemd/system/getty@.service ]; then
|
||||||
rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"
|
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}/lib/systemd/system/getty@.service" > \
|
||||||
"${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"
|
"${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user