File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 3737 arch : ${{ matrix.arch }}
3838 sync : scp
3939 user : user
40+ vmpath : /boot/home/host
Original file line number Diff line number Diff line change 3232 required : false
3333 type : string
3434 default : " root"
35+ vmpath :
36+ description : " VM path for sync"
37+ required : false
38+ type : string
39+ default : " /mnt/host"
3540
3641
3742
@@ -77,12 +82,12 @@ jobs:
7782 mkdir -p ${mountdir}
7883 echo "anyvm" > ${mountdir}/justcheck.txt
7984 mkdir -p ../test_output
80- python anyvm.py --debug --data-dir ../test_output --os "${{ inputs.os }}" --release "${{ inputs.release }}" --arch "${{ inputs.arch }}" -d -v "${mountdir}:/mnt/host " --ssh-port 10022 --ssh-name "testname" -p 20022:22 --nc "${{ inputs.nc }}" --sync "${{ inputs.sync }}"
85+ python anyvm.py --debug --data-dir ../test_output --os "${{ inputs.os }}" --release "${{ inputs.release }}" --arch "${{ inputs.arch }}" -d -v "${mountdir}:${{ inputs.vmpath }} " --ssh-port 10022 --ssh-name "testname" -p 20022:22 --nc "${{ inputs.nc }}" --sync "${{ inputs.sync }}"
8186 # We use the ssh port as an alias to the vm, so we can use 'ssh $port' to login
82- ssh 10022 ls /mnt/host
83- ssh 10022 ls /mnt/host | grep justcheck.txt
84- ssh testname ls /mnt/host | grep justcheck.txt
85- ssh -v -p 20022 -o StrictHostKeyChecking=accept-new ${{ inputs.user }}@localhost ls /mnt/host | grep justcheck.txt
87+ ssh 10022 ls ${{ inputs.vmpath }}
88+ ssh 10022 ls ${{ inputs.vmpath }} | grep justcheck.txt
89+ ssh testname ls ${{ inputs.vmpath }} | grep justcheck.txt
90+ ssh -v -p 20022 -o StrictHostKeyChecking=accept-new ${{ inputs.user }}@localhost ls ${{ inputs.vmpath }} | grep justcheck.txt
8691
8792
8893
You can’t perform that action at this time.
0 commit comments