Skip to content

Commit bf22b68

Browse files
committed
Specify a bridge network in CI
1 parent e99c2e3 commit bf22b68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
- name: Generate SSH key
5757
run: ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519
5858

59+
- name: Explicitly set network bridge config
60+
# Otherwise vagrant asks for this assuming a TTY (despite `--no-tty` :()
61+
run: sed -i 's/config.vm.network "public_network"/config.vm.network "public_network", bridge: "eth0"/' Vagrantfile
62+
5963
- run: vagrant up --provision --no-tty
6064

6165
- run: ./scripts/check-pages.py

0 commit comments

Comments
 (0)