From e023aa77bbaa7d77ea119194a522b3fc42e20389 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sat, 16 Apr 2016 18:29:43 +0100 Subject: add UEFI support to example submit script --- examples/lava-submit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/lava-submit.py b/examples/lava-submit.py index 7412e8b..947f986 100755 --- a/examples/lava-submit.py +++ b/examples/lava-submit.py @@ -48,6 +48,7 @@ IMAGE = "" ARCH = "" PROMPT = "" PASSWORD = "" # leave empty if no root password +UEFI = "" # directory containing the UEFI firmware for the VM def job(image): @@ -83,6 +84,9 @@ def job(image): "password_prompt": "Password:", "password": PASSWORD }) + if UEFI: + deploy = [action['deploy'] for action in job_def['actions'] if 'deploy' in action][0] + deploy['images']['rootfs']['image_arg'] += " -L %s -monitor none" % UEFI return job_def -- cgit v1.2.1