Add volume.Delete to GCE taskset

This closes #97.
This commit is contained in:
Tiago Ilieve 2014-06-07 12:45:58 -03:00
parent aa1f8cf189
commit 80d0dfb939

View file

@ -8,6 +8,7 @@ import tasks.packages
from bootstrapvz.common.tasks import loopback from bootstrapvz.common.tasks import loopback
from bootstrapvz.common.tasks import initd from bootstrapvz.common.tasks import initd
from bootstrapvz.common.tasks import ssh from bootstrapvz.common.tasks import ssh
from bootstrapvz.common.tasks import volume
import bootstrapvz.plugins.cloud_init.tasks import bootstrapvz.plugins.cloud_init.tasks
@ -43,6 +44,7 @@ def resolve_tasks(taskset, manifest):
loopback.MoveImage, loopback.MoveImage,
tasks.image.CreateTarball, tasks.image.CreateTarball,
volume.Delete,
]) ])
if 'gcs_destination' in manifest.image: if 'gcs_destination' in manifest.image: