summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPMR <pmr@pmr-lander>2016-12-22 19:13:08 +0000
committerPMR <pmr@pmr-lander>2016-12-22 19:13:08 +0000
commite4ac37b13e5b77cf592db32568bffebf92d484c4 (patch)
treea0fda5f4fd19d096bc881660ea3d71f4566bee47 /jobs
parent0e7f486dfed0c697c021b1f76c4176022ef26d1a (diff)
parentce30568d12a1fd1856b73d1fcb7e6bef93060a1f (diff)
Merge #313644 from ~bladernr/plainbox-provider-checkbox:improve-maas-version-check
Diffstat (limited to 'jobs')
-rw-r--r--jobs/miscellanea.txt.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index 3d55b3e..55a7496 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -303,15 +303,9 @@ plugin: shell
category_id: 2013.com.canonical.plainbox::miscellanea
estimated_duration: 0.1
id: miscellanea/get_maas_version
-command:
- if [ -s /etc/installed-by-maas ]; then
- cat /etc/installed-by-maas
- else
- echo "MAAS VERSION NOT FOUND" >&2
- false
- fi
+command: maas-version-check
_description: If system was installed via MAAS from a cert server, the MAAS version used should be contained in /etc/installed-by-maas
-_summary: Attach MAAS version used to deploy the SUT
+_summary: Verify MAAS version used to deploy the SUT
plugin: shell
category_id: 2013.com.canonical.plainbox::miscellanea