File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,5 @@ while ! echo incompatible | nc 127.0.0.1 2224; do sleep 1; done
5
5
6
6
set -e
7
7
8
- sleep 10
9
- sshpass -p root ssh -o ' StrictHostKeyChecking no' -p 2224 root@127.0.0.1 ' sed -i ' " '" ' s/.*wheel.*/#\0/' " '" ' /etc/sudoers; sed -i ' " '" ' s/#*\(.*wheel.*NOPASSWD.*\)/\1/' " '" ' /etc/sudoers; adduser -g wheel --uid ' " $( id -u) " ' user; echo user:user | chpasswd'
10
- sshpass -p user ssh -o ' StrictHostKeyChecking no' -p 2224 user@127.0.0.1 ' sudo mount -t hostfs hostfs ~; cd; exec uml-ci/payload.sh'
8
+ sshpass -p root ssh -v -o ' StrictHostKeyChecking no' -p 2224 root@127.0.0.1 ' sed -i ' " '" ' s/.*wheel.*/#\0/' " '" ' /etc/sudoers; sed -i ' " '" ' s/#*\(.*wheel.*NOPASSWD.*\)/\1/' " '" ' /etc/sudoers; adduser -g wheel --uid ' " $( id -u) " ' user; echo user:user | chpasswd'
9
+ sshpass -p user ssh -v -o ' StrictHostKeyChecking no' -p 2224 user@127.0.0.1 ' sudo mount -t hostfs hostfs ~; cd; exec uml-ci/payload.sh'
You can’t perform that action at this time.
0 commit comments