Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Nov 11, 2023
1 parent e6ba68e commit 90ee7c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/tpl/README.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ You can add NAT port between the host and the VM.
```


The default memory of the VM is 1024MB, you can use `mem` option to set the memory size:
The default memory of the VM is 6144MB, you can use `mem` option to set the memory size:

```
...
Expand All @@ -152,7 +152,7 @@ The default memory of the VM is 1024MB, you can use `mem` option to set the memo
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
mem: 2048
mem: 4096
...
```

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
release: [ "13.2", ""]
runs: [ "ubuntu-22.04"]
runs-on: ${{ matrix.runs }}
name: A job to run test sshfs FreeBSD
name: sshfs FreeBSD
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
release: [ "13.2", ""]
runs: [ "ubuntu-22.04"]
runs-on: ${{ matrix.runs }}
name: A job to run test FreeBSD
name: FreeBSD
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
Expand Down
10 changes: 8 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ importVM() {


waitForLoginTag() {
bash $vmsh waitForText "$osname" "$VM_LOGIN_TAG"
if [ -e "hooks/waitForLoginTag.sh" ]; then
echo "Run hooks/waitForLoginTag.sh"
. hooks/waitForLoginTag.sh
else
bash $vmsh waitForText "$osname" "$VM_LOGIN_TAG"
fi

}


Expand Down Expand Up @@ -239,7 +245,7 @@ waitForBooting() {
showDebugInfo() {
echo "==================Debug Info===================="
pwd && ls -lah
bash -c 'pwd && ls -lah ~/.ssh/ && cat ~/.ssh/config'
bash -c 'pwd && ls -lah ~/.ssh/ && [ -e "~/.ssh/config" ] && cat ~/.ssh/config'
cat $_conf_filename

echo "===================Debug Info in VM============="
Expand Down

0 comments on commit 90ee7c1

Please sign in to comment.