summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vmdb/plugins/debootstrap_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmdb/plugins/debootstrap_plugin.py b/vmdb/plugins/debootstrap_plugin.py
index 61625ef..178bd95 100644
--- a/vmdb/plugins/debootstrap_plugin.py
+++ b/vmdb/plugins/debootstrap_plugin.py
@@ -38,8 +38,9 @@ class DebootstrapStepRunner(vmdb.StepRunnerInterface):
tag = step['target']
target = state.mounts[tag]
mirror = step['mirror']
+ variant = step.get('variant', '-')
if not (suite and tag and target and mirror):
raise Exception('missing arg for debootstrap step')
vmdb.progress(
'Debootstrap {} {} {}'.format(suite, target, mirror))
- vmdb.runcmd(['debootstrap', suite, target, mirror])
+ vmdb.runcmd(['debootstrap', '--variant', variant, suite, target, mirror])