Solve problem with vmware option

Change-Id: I07fd6da29425671664b39f2aec776caeddf3c406
This commit is contained in:
Lnic 2015-12-28 09:41:07 +01:00
parent d71dd7e7e5
commit 2ffe12ce8d
1 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,9 @@
# have to find a better way to do this, if we can execute plugin before upload_cirros task we don't need this anymore
exec{ "image-delete":
command => "/bin/bash -c 'source /root/openrc && /usr/bin/glance image-delete TestVM'",
}
glance_image { "TestVM":
ensure => 'absent',
name => "TestVM",
}
glance_image { "TestVM-VMDK":
ensure => 'absent',
name => "TestVM-VMDK",
}