Skip to content

Commit

Permalink
Workaround systemd-networkd enabling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MoteHue authored and Alex-Welsh committed Aug 19, 2024
1 parent 2f28abe commit 6715e41
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,19 @@ jobs:
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

# Run network configuration again so systemd-networkd is enabled properly.
# TODO(mattc): Remove once this gets into a versioned release: https://github.com/ansible/ansible/pull/77754
- name: Host configure
run: |
docker run -t --rm \
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
KAYOBE_TAGS: network

- name: Update host packages
run: |
docker run -t --rm \
Expand Down

0 comments on commit 6715e41

Please sign in to comment.