summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorRod Smith <rod.smith@canonical.com>2015-07-09 14:08:49 -0400
committerRod Smith <rod.smith@canonical.com>2015-07-09 14:08:49 -0400
commite553d1ddcba981821169ee6069337da162d06206 (patch)
tree5ca9cf85f7654b20ebf4857eaf49c32f0ee35c91 /jobs
parentfc608fc1769b3ee4b54d8ed9f9683770c8a7f7ea (diff)
Added new EFI-mode boot test for servers.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/miscellanea.txt.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index f89e97e..165332c 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -71,6 +71,19 @@ _description:
This will run some basic connectivity tests against a BMC, verifying that IPMI works.
plugin: shell
+estimated_duration: 0.5
+id: miscellanea/boot_mode
+_summary: EFI-mode boot test
+_description: Succeeds when booted in EFI mode; fails otherwise
+command:
+ if [ -d "/sys/firmware/efi" ] ; then
+ echo "System booted in EFI mode"
+ else
+ echo "System did NOT boot in EFI mode"
+ exit 1
+ fi
+
+plugin: shell
id: miscellanea/bmc_info
requires: package.name == 'ipmitool'
estimated_duration: 0.5