From 7484236282a5f653acb532f7054a7d61a2106a16 Mon Sep 17 00:00:00 2001 From: Zach Marano Date: Wed, 17 Jun 2015 18:12:07 -0700 Subject: [PATCH] Change the order we clean up the apt state- thereby leaving a current as of the image build set of apt list files on the resulting image. --- bootstrapvz/providers/gce/tasks/apt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrapvz/providers/gce/tasks/apt.py b/bootstrapvz/providers/gce/tasks/apt.py index 229656a..c66e6fd 100644 --- a/bootstrapvz/providers/gce/tasks/apt.py +++ b/bootstrapvz/providers/gce/tasks/apt.py @@ -40,7 +40,8 @@ class ImportGoogleKey(Task): class CleanGoogleRepositoriesAndKeys(Task): description = 'Removing Google key and apt source files' phase = phases.system_cleaning - successors = [apt.AptClean, network.RemoveDNSInfo] + predecessors = [apt.AptClean] + successors = [network.RemoveDNSInfo] @classmethod def run(cls, info):