Change-Id: Ifa1796b8dbc1bc5d92dd765a18b9b8022d3b3289
Signed-off-by: ahothan <ahothan@cisco.com>
FROM ubuntu:16.04
ENV TREX_VER "v2.56"
-ENV VM_IMAGE_VER "0.8"
+ENV VM_IMAGE_VER "0.9"
# Note: do not clone with --depth 1 as it will cause pbr to fail extracting the nfvbench version
# from the git tag
if os.path.exists(filename):
with open(filename, 'r') as stream:
try:
- result = yaml.load(stream)
+ result = yaml.safe_load(stream)
except yaml.YAMLError as exc:
print exc
return result
gs_url=artifacts.opnfv.org/nfvbench/images
# image version number
-__version__=0.8
+__version__=0.9
image_name=nfvbenchvm_centos-$__version__
# if image exists skip building
user = "cloud-user"
with open(cloudcfg) as f:
- cfg = yaml.load(f)
+ cfg = yaml.safe_load(f)
try:
if cfg['system_info']['default_user']['name']: