mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
add rollback for Attach
This commit is contained in:
parent
ee7ae81746
commit
205adeb288
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ from common.tasks import security
|
|||
from common.tasks import network
|
||||
from common.tasks import initd
|
||||
from common.tasks import cleanup
|
||||
from common.tasks import loopback
|
||||
|
||||
|
||||
def initialize():
|
||||
|
@ -88,3 +89,4 @@ def rollback_tasks(tasklist, tasks_completed, manifest):
|
|||
counter_task(parted.MapPartitions, parted.UnmapPartitions)
|
||||
counter_task(filesystem.MountVolume, filesystem.UnmountVolume)
|
||||
counter_task(filesystem.MountSpecials, filesystem.UnmountSpecials)
|
||||
counter_task(loopback.Attach, loopback.Detach)
|
||||
|
|
Loading…
Add table
Reference in a new issue