When on a GitHub actions runner, spin the unmodified launch template.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2022-10-27 17:25:14 +01:00 committed by Megan Wilhite
parent fce2e1cc76
commit abd51f2a04

View file

@ -452,8 +452,7 @@ class VM:
ssh_connection_timeout_progress = 0
network_interfaces = None
if key_name is None:
key_name = "github-actions"
if os.environ.get("RUNNER_NAME") is not None:
log.info("Starting CI configured VM")
else:
# This is a developer running