diff options
-rwxr-xr-x | bin/efi-pxeboot.py | 5 | ||||
-rw-r--r-- | units/ethernet/jobs.pxu | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/efi-pxeboot.py b/bin/efi-pxeboot.py index 52eace9..cfeee5d 100755 --- a/bin/efi-pxeboot.py +++ b/bin/efi-pxeboot.py @@ -141,6 +141,11 @@ def main(): "indicate a firmware") print("problem.") retval = 3 + if boot_current == "": + print("FAIL: The EFI BootCurrent variable is missing. This may " + "indicate a firmware") + print("problem.") + retval = 4 if (retval == 0): retval = is_pxe_booted(boot_entries, boot_order, boot_current) return(retval) diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 89565bf..244cca6 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -301,7 +301,8 @@ plugin: user-interact command: eth_hotplugging.py {{ interface }} && gateway_ping_test.py -v --interface {{ interface }} category_id: com.canonical.plainbox::ethernet -estimated_duration: 1.0 +estimated_duration: 60.0 +user: root flags: preserve-locale unit: template |