mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Also create and attach loopback volume
Not much fun without that
This commit is contained in:
parent
6fd4c0efb3
commit
ac716bfb6e
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@ from manifest import Manifest
|
|||
from tasks import packages
|
||||
from common.tasks import packages as common_packages
|
||||
from tasks import host
|
||||
from common.tasks import loopback
|
||||
from common.tasks import parted
|
||||
from common.tasks import filesystem
|
||||
from common.tasks import bootstrap
|
||||
|
@ -26,6 +27,8 @@ def tasks(tasklist, manifest):
|
|||
common_packages.ImagePackages(),
|
||||
host.CheckPackages(),
|
||||
|
||||
loopback.CreateQemuImg(),
|
||||
loopback.Attach(),
|
||||
parted.PartitionVolume(),
|
||||
parted.MapPartitions(),
|
||||
parted.FormatPartitions(),
|
||||
|
@ -62,6 +65,7 @@ def tasks(tasklist, manifest):
|
|||
|
||||
filesystem.UnmountVolume(),
|
||||
filesystem.UnmapPartitions(),
|
||||
loopback.Detach(),
|
||||
filesystem.DeleteMountDir())
|
||||
|
||||
if manifest.bootstrapper['tarball']:
|
||||
|
|
Loading…
Add table
Reference in a new issue