summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhammer.py5
1 files changed, 4 insertions, 1 deletions
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')