switch from getty to root shell on console

this just makes things marginally simpler
This commit is contained in:
Daniel Barlow 2023-11-21 23:02:51 +00:00
parent c8b2d58dd3
commit a0bd250963
8 changed files with 14 additions and 11 deletions

View file

@ -2,7 +2,6 @@ set timeout 10
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "#"
send "echo HELLO WORLD > /hello\r\n"
expect "#"

View file

@ -2,7 +2,6 @@ set timeout 10
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "#"
send "echo HELLO WORLD > /hello\r\n"
expect "#"

View file

@ -2,4 +2,3 @@ set timeout 60
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:"

View file

@ -2,7 +2,6 @@ set timeout 60
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "#"
set FINISHED 0
set EXIT "1"

View file

@ -2,7 +2,6 @@ set timeout 60
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "#"
set FINISHED 0
set EXIT "1"