switch from getty to root shell on console
this just makes things marginally simpler
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user