From cc98e804bd94b107864951d81ba91af13fe3099f Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Mon, 6 Sep 2021 20:32:08 +0300 Subject: [#2064] hammer.py: install lxc on Debian (extra) --- hammer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hammer.py b/hammer.py index db344097fc..25391baa1d 100755 --- a/hammer.py +++ b/hammer.py @@ -2410,8 +2410,11 @@ def ensure_hammer_deps(): exitcode = execute('vagrant plugin list | grep vagrant-lxc', raise_error=False) if exitcode != 0: execute('vagrant plugin install vagrant-lxc') - # install lxc-create on Ubuntu (part of lxc-utils) + + # Install lxc-create. system, _ = get_system_revision() + if system == 'debian': + execute('sudo apt-get -y install lxc') if system in ['ubuntu']: execute('sudo apt-get -y install lxc-utils') -- cgit v1.2.3