prebootstrapped: don't reinstall GuestAdditions

This commit is contained in:
Anders Ingemann 2014-01-10 00:52:00 +01:00
parent fcd7fabab8
commit 2cc4fbf452

View file

@ -3,6 +3,7 @@ from tasks import CopyImage
from tasks import CreateFromSnapshot from tasks import CreateFromSnapshot
from tasks import CreateFromImage from tasks import CreateFromImage
from providers.ec2.tasks import ebs from providers.ec2.tasks import ebs
from providers.virtualbox.tasks import guest_additions
from common.tasks import loopback from common.tasks import loopback
from common.tasks import volume from common.tasks import volume
from common.tasks import locale from common.tasks import locale
@ -32,7 +33,9 @@ def resolve_tasks(taskset, manifest):
apt.DisableDaemonAutostart, apt.DisableDaemonAutostart,
locale.GenerateLocale, locale.GenerateLocale,
bootstrap.MakeTarball, bootstrap.MakeTarball,
bootstrap.Bootstrap] bootstrap.Bootstrap,
guest_additions.InstallGuestAdditions,
]
if manifest.volume['backing'] == 'ebs': if manifest.volume['backing'] == 'ebs':
if 'snapshot' in settings and settings['snapshot'] is not None: if 'snapshot' in settings and settings['snapshot'] is not None:
taskset.add(CreateFromSnapshot) taskset.add(CreateFromSnapshot)