launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #25286
[Merge] ~twom/lpbuildbot-worker:correct-lxc-location into lpbuildbot-worker:main
Tom Wardill has proposed merging ~twom/lpbuildbot-worker:correct-lxc-location into lpbuildbot-worker:main.
Commit message:
Correct lxc location
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~twom/lpbuildbot-worker/+git/lpbuildbot-worker/+merge/390728
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~twom/lpbuildbot-worker:correct-lxc-location into lpbuildbot-worker:main.
diff --git a/lp-setup-lxd-test b/lp-setup-lxd-test
index f7e8603..fb3cba0 100755
--- a/lp-setup-lxd-test
+++ b/lp-setup-lxd-test
@@ -98,7 +98,8 @@ def create_ephemeral_container(
]
)
return_code = subprocess.call(
- ["lxc", "exec", test_container_name, "--", "bash", "-c", command]
+ ["/snap/bin/lxc", "exec", test_container_name, "--", "bash", "-c", command],
+ shell=True
)
if list_tests:
print("rsync temp dir out of container {}".format(test_container_name))
Follow ups