mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Fix task references
This commit is contained in:
parent
631901a827
commit
ffbc34e23f
1 changed files with 2 additions and 3 deletions
|
@ -47,7 +47,6 @@ def tasks(tasklist, manifest):
|
||||||
common_boot.BlackListModules(),
|
common_boot.BlackListModules(),
|
||||||
common_boot.DisableGetTTYs(),
|
common_boot.DisableGetTTYs(),
|
||||||
security.EnableShadowConfig(),
|
security.EnableShadowConfig(),
|
||||||
security.SetRootPassword(),
|
|
||||||
security.DisableSSHPasswordAuthentication(),
|
security.DisableSSHPasswordAuthentication(),
|
||||||
security.DisableSSHDNSLookup(),
|
security.DisableSSHDNSLookup(),
|
||||||
network.RemoveDNSInfo(),
|
network.RemoveDNSInfo(),
|
||||||
|
@ -64,7 +63,7 @@ def tasks(tasklist, manifest):
|
||||||
filesystem.UnmountSpecials(),
|
filesystem.UnmountSpecials(),
|
||||||
|
|
||||||
filesystem.UnmountVolume(),
|
filesystem.UnmountVolume(),
|
||||||
filesystem.UnmapPartitions(),
|
parted.UnmapPartitions(),
|
||||||
loopback.Detach(),
|
loopback.Detach(),
|
||||||
filesystem.DeleteMountDir())
|
filesystem.DeleteMountDir())
|
||||||
|
|
||||||
|
@ -86,6 +85,6 @@ def rollback_tasks(tasklist, tasks_completed, manifest):
|
||||||
tasklist.add(counter())
|
tasklist.add(counter())
|
||||||
|
|
||||||
counter_task(filesystem.CreateMountDir, filesystem.DeleteMountDir)
|
counter_task(filesystem.CreateMountDir, filesystem.DeleteMountDir)
|
||||||
counter_task(filesystem.MapPartitions, filesystem.UnmapPartitions)
|
counter_task(parted.MapPartitions, parted.UnmapPartitions)
|
||||||
counter_task(filesystem.MountVolume, filesystem.UnmountVolume)
|
counter_task(filesystem.MountVolume, filesystem.UnmountVolume)
|
||||||
counter_task(filesystem.MountSpecials, filesystem.UnmountSpecials)
|
counter_task(filesystem.MountSpecials, filesystem.UnmountSpecials)
|
||||||
|
|
Loading…
Add table
Reference in a new issue