Skip to content

Commit

Permalink
Merge pull request #575 from simondeziel/noble-cloud-init
Browse files Browse the repository at this point in the history
Revert "run-integration-tests-in-lxd: ignore error returned by cloud-init status
  • Loading branch information
tomponline committed Mar 5, 2024
2 parents 4d4b450 + fc05eff commit 118ef8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration/run-integration-tests-in-lxd
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ function run_tests {
lxc exec "$container_name" -- mkdir -p /opt/pylxd
{ cd "$DIR/.." && git archive --format=tar HEAD; } | lxc exec "$container_name" -- tar -xf - -C /opt/pylxd

# Workaround https://github.com/canonical/cloud-init/pull/4970
lxc exec "$container_name" -- cloud-init status --long --wait || true
lxc exec "$container_name" -- cloud-init status --long --wait
lxc exec "$container_name" --cwd /opt/pylxd -- integration/run-integration-tests
lxc delete --force "$container_name"
}
Expand Down

0 comments on commit 118ef8d

Please sign in to comment.