diff options
author | Neil Williams <codehelp@debian.org> | 2016-04-16 18:29:43 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2016-04-16 18:29:43 +0100 |
commit | e023aa77bbaa7d77ea119194a522b3fc42e20389 (patch) | |
tree | bcf045bfcdec964472d5c300349b633cb50e021c | |
parent | f19dc2e32f6b9b7418fa273bb925ebb049ff9fd4 (diff) | |
download | vmdebootstrap-e023aa77bbaa7d77ea119194a522b3fc42e20389.tar.gz |
add UEFI support to example submit script
-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 |