diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-06-30 18:24:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-06-30 18:25:23 +0300 |
commit | 80c2f607d02d119bca9f304140caceb67153810e (patch) | |
tree | 3d5a620e1d7f768d52c71e64df0a0b91bd5dd847 | |
parent | 06df6dbaf576c5f0bc190262ce22b252ae39a64d (diff) | |
download | vmdb2-80c2f607d02d119bca9f304140caceb67153810e.tar.gz |
Fix: add "apt-get update" to the end of debootstrap action
-rw-r--r-- | vmdb/plugins/debootstrap_plugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vmdb/plugins/debootstrap_plugin.py b/vmdb/plugins/debootstrap_plugin.py index 178bd95..5aa7270 100644 --- a/vmdb/plugins/debootstrap_plugin.py +++ b/vmdb/plugins/debootstrap_plugin.py @@ -44,3 +44,4 @@ class DebootstrapStepRunner(vmdb.StepRunnerInterface): vmdb.progress( 'Debootstrap {} {} {}'.format(suite, target, mirror)) vmdb.runcmd(['debootstrap', '--variant', variant, suite, target, mirror]) + vmdb.runcmd_chroot(target, ['apt-get', 'update']) |