summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-12 13:39:17 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-12 13:39:17 +0300
commit38120ea5721b5f86bc66b6063634c7ca2077b904 (patch)
treefb99c0e635271a9cf2a665e3a1ce9ce92b6e22c2
parentbc42e2a8e94713dafb4de4546352749354bc80e0 (diff)
downloadvmdb2-38120ea5721b5f86bc66b6063634c7ca2077b904.tar.gz
fix: get config key "arch" for arch instead of "keyring"
Sponsored-by: author
-rw-r--r--vmdb/plugins/debootstrap_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/debootstrap_plugin.py b/vmdb/plugins/debootstrap_plugin.py
index c591351..9f622a1 100644
--- a/vmdb/plugins/debootstrap_plugin.py
+++ b/vmdb/plugins/debootstrap_plugin.py
@@ -42,7 +42,7 @@ class DebootstrapStepRunner(vmdb.StepRunnerInterface):
target = state.tags.get_builder_mount_point(tag)
mirror = values["mirror"]
keyring = values["keyring"] or None
- arch = values["keyring"] or subprocess.check_output(['dpkg', '--print-architecture'])
+ arch = values["arch"] or subprocess.check_output(['dpkg', '--print-architecture'])
variant = values["variant"]
components = values["components"]