mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
prebootstrapped: don't reinstall GuestAdditions
This commit is contained in:
parent
fcd7fabab8
commit
2cc4fbf452
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ from tasks import CopyImage
|
|||
from tasks import CreateFromSnapshot
|
||||
from tasks import CreateFromImage
|
||||
from providers.ec2.tasks import ebs
|
||||
from providers.virtualbox.tasks import guest_additions
|
||||
from common.tasks import loopback
|
||||
from common.tasks import volume
|
||||
from common.tasks import locale
|
||||
|
@ -32,7 +33,9 @@ def resolve_tasks(taskset, manifest):
|
|||
apt.DisableDaemonAutostart,
|
||||
locale.GenerateLocale,
|
||||
bootstrap.MakeTarball,
|
||||
bootstrap.Bootstrap]
|
||||
bootstrap.Bootstrap,
|
||||
guest_additions.InstallGuestAdditions,
|
||||
]
|
||||
if manifest.volume['backing'] == 'ebs':
|
||||
if 'snapshot' in settings and settings['snapshot'] is not None:
|
||||
taskset.add(CreateFromSnapshot)
|
||||
|
|
Loading…
Add table
Reference in a new issue