autologin: puse la referencia al último y la puse comentada
De esta manera, se puede correr el Howto como script de bash.
This commit is contained in:
parent
2d13138b06
commit
337d198a25
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
https://access.redhat.com/solutions/1220603
|
|
||||||
|
|
||||||
rm /etc/systemd/system/getty.target.wants/getty@tty1.service
|
rm /etc/systemd/system/getty.target.wants/getty@tty1.service
|
||||||
|
|
||||||
cat >> /etc/systemd/system/getty@tty1.service << EOF
|
cat >> /etc/systemd/system/getty@tty1.service << EOF
|
||||||
|
@ -62,4 +60,4 @@ sed -i '/^root/ a test:$6$RilmkHYl9XJJAYdQ$kNHf8CkSYxOMhUgytSBFIxmg3rSPjsDAjLH3l
|
||||||
|
|
||||||
sed -i '/test/s/screen-.*$/screen-netdev/' /etc/passwd
|
sed -i '/test/s/screen-.*$/screen-netdev/' /etc/passwd
|
||||||
|
|
||||||
|
# referencia: https://access.redhat.com/solutions/1220603
|
||||||
|
|
Loading…
Reference in a new issue