From 5acd0a0dc3808af63d6b859e0a36ac3041cad211 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sun, 7 Jul 2013 17:55:21 +0200 Subject: [PATCH] Add unmount tasks to tasklist squash! Add unmount tasks to tasklist --- providers/ec2/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/providers/ec2/__init__.py b/providers/ec2/__init__.py index 59f0ea8..9c7f32c 100644 --- a/providers/ec2/__init__.py +++ b/providers/ec2/__init__.py @@ -62,7 +62,11 @@ def tasks(tasklist, manifest): cleanup.CleanTMP(), apt.PurgeUnusedPackages(), apt.AptClean(), - apt.EnableDaemonAutostart()) + apt.EnableDaemonAutostart(), + filesystem.UnmountSpecials(), + filesystem.UnmountVolume(), + ebs.DetachVolume(), + filesystem.DeleteMountDir()) from common.tasks import TriggerRollback tasklist.add(TriggerRollback())