switch from getty to root shell on console
this just makes things marginally simpler
This commit is contained in:
parent
c8b2d58dd3
commit
a0bd250963
8 changed files with 14 additions and 11 deletions
|
@ -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 "#"
|
||||
|
|
|
@ -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 "#"
|
||||
|
|
|
@ -2,4 +2,3 @@ set timeout 60
|
|||
|
||||
spawn socat unix-connect:vm/console -
|
||||
send "\r\n"
|
||||
expect "login:"
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue