diff options
-rwxr-xr-x | examples/lava-submit.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |