Add jq command into robot images 15/50115/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 9 Jan 2017 03:38:18 +0000 (22:38 -0500)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 9 Jan 2017 03:48:14 +0000 (13:48 +1000)
jq is a useful shell command to parse json data. We need this to help us
parse openstack commands used by opendaylight-infra to spin up systems using
Heat templates.

Change-Id: I5c5f0ae949c1ac65138379c29228962be985491c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/provision/robot.sh

index 268d6c24f7d94b3b940d253b14baee5d4668c5a0..2dfd9ca6a88cc4660a0220e3493c69fc6009f06d 100644 (file)
@@ -7,6 +7,10 @@
 # inside project jobs using a virtualenv setup.
 yum install -y python-{devel,setuptools,virtualenv} @development
 
+# Needed to parse OpenStack commands used by opendaylight-infra stack commands
+# to initialize Heat template based systems.
+yum install -y jq
+
 # Install dependencies for robotframework and robotframework-sshlibrary
 # installed elsewhere
 yum install -y yum-utils unzip sshuttle nc libffi-devel openssl-devel