summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vmdb/plugins/qemudebootstrap_plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/vmdb/plugins/qemudebootstrap_plugin.py b/vmdb/plugins/qemudebootstrap_plugin.py
index 53a1835..9a6ed97 100644
--- a/vmdb/plugins/qemudebootstrap_plugin.py
+++ b/vmdb/plugins/qemudebootstrap_plugin.py
@@ -51,3 +51,8 @@ class QemuDebootstrapStepRunner(vmdb.StepRunnerInterface):
target,
mirror])
vmdb.runcmd_chroot(target, ['apt-get', 'update'])
+
+ def run_even_if_skipped(self, step, settings, state):
+ tag = step['target']
+ target = state.tags.get_mount_point(tag)
+ vmdb.runcmd_chroot(target, ['apt-get', 'update'])