Skip to content

Commit c4bb63b

Browse files
author
neil
committed
fix haiku
1 parent ab216c8 commit c4bb63b

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/haiku.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ jobs:
3737
arch: ${{ matrix.arch }}
3838
sync: scp
3939
user: user
40+
vmpath: /boot/home/host

.github/workflows/testrun.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ on:
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

0 commit comments

Comments
 (0)