← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/autopkgtest-cloud:copy-security-group-fix into autopkgtest-cloud:master

 

Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:copy-security-group-fix into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/466095
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:copy-security-group-fix into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-cloud-worker/units/autopkgtest@.service b/charms/focal/autopkgtest-cloud-worker/units/autopkgtest@.service
index a94f14d..a0fd96d 100644
--- a/charms/focal/autopkgtest-cloud-worker/units/autopkgtest@.service
+++ b/charms/focal/autopkgtest-cloud-worker/units/autopkgtest@.service
@@ -14,7 +14,7 @@ Environment=SECGROUP=autopkgtest-%H@%i.secgroup
 EnvironmentFile=/home/ubuntu/influx.cred
 EnvironmentFile=/home/ubuntu/rabbitmq.cred
 EnvironmentFile=/home/ubuntu/swift-password.cred
-ExecStartPre=/home/ubuntu/autopkgtest-cloud/tools/exec-in-region %i /home/ubuntu/autopkgtest-cloud/tools/copy-security-group $SECGROUP
+ExecStartPre=/home/ubuntu/autopkgtest-cloud/tools/exec-in-region %i /home/ubuntu/autopkgtest-cloud/tools/copy-security-group --source default $SECGROUP
 ExecStopPost=/home/ubuntu/autopkgtest-cloud/tools/exec-in-region %i /home/ubuntu/autopkgtest-cloud/tools/copy-security-group --delete-only  $SECGROUP
 ExecStart=/bin/sh -ec 'REGION="%i"; REGION="$${REGION%-*}"; \
     CONF="$HOME/worker-$${REGION}.conf"; \