mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
prebootstrapped: Take minimize_size plugin into account
The dpkg tasks modify the volume before debootstrap, so when re-creating a snapshot we need to remove them as well.
This commit is contained in:
parent
df7df19fb9
commit
0d54ad68ec
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
import tasks
|
||||
from bootstrapvz.providers.ec2.tasks import ebs
|
||||
from bootstrapvz.plugins.minimize_size.tasks import dpkg
|
||||
from bootstrapvz.providers.virtualbox.tasks import guest_additions
|
||||
from bootstrapvz.common.tasks import loopback
|
||||
from bootstrapvz.common.tasks import volume
|
||||
|
@ -30,6 +31,12 @@ def resolve_tasks(taskset, manifest):
|
|||
filesystem.CreateBootMountDir,
|
||||
|
||||
apt.DisableDaemonAutostart,
|
||||
dpkg.InitializeBootstrapFilterList,
|
||||
dpkg.CreateDpkgCfg,
|
||||
dpkg.CreateBootstrapFilterScripts,
|
||||
dpkg.FilterLocales,
|
||||
dpkg.ExcludeDocs,
|
||||
dpkg.DeleteBootstrapFilterScripts,
|
||||
locale.GenerateLocale,
|
||||
bootstrap.MakeTarball,
|
||||
bootstrap.Bootstrap,
|
||||
|
|
Loading…
Add table
Reference in a new issue