Skip to content

Commit 6715e41

Browse files
MoteHueAlex-Welsh
authored andcommitted
Workaround systemd-networkd enabling bug
1 parent 2f28abe commit 6715e41

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,19 @@ jobs:
284284
env:
285285
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
286286

287+
# Run network configuration again so systemd-networkd is enabled properly.
288+
# TODO(mattc): Remove once this gets into a versioned release: https://github.com/ansible/ansible/pull/77754
289+
- name: Host configure
290+
run: |
291+
docker run -t --rm \
292+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
293+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
294+
${{ steps.kayobe_image.outputs.kayobe_image }} \
295+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh
296+
env:
297+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
298+
KAYOBE_TAGS: network
299+
287300
- name: Update host packages
288301
run: |
289302
docker run -t --rm \

0 commit comments

Comments
 (0)