Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Dec 2, 2023
1 parent bf109b4 commit 10feecc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test in DragonflyBSD
id: test
uses: vmactions/dragonflybsd-vm@9e4be3099b8c7d1a266f114d9d947a22bb25909d
uses: vmactions/dragonflybsd-vm@bf109b4bdd6ae66927a744f3691e011032583494
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test in DragonflyBSD
id: test
uses: vmactions/dragonflybsd-vm@9e4be3099b8c7d1a266f114d9d947a22bb25909d
uses: vmactions/dragonflybsd-vm@bf109b4bdd6ae66927a744f3691e011032583494
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
Expand Down
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ addNAT() {
_hostport="$2"
_vmport="$3"
_vmip=$(bash $vmsh getVMIP "$osname")

echo "vm ip: $_vmip"
if ! command -v socat; then
echo "installing socat"
if bash $vmsh isLinux; then
sudo apt-get install -y socat
else
Expand Down

0 comments on commit 10feecc

Please sign in to comment.