summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorAndrei Pavel <andrei.pavel@mail.com>2021-09-06 19:32:08 +0200
committerAndrei Pavel <andrei.pavel@mail.com>2021-09-06 19:32:08 +0200
commitcc98e804bd94b107864951d81ba91af13fe3099f (patch)
tree60a92ecd5e63e67f014b288eeeff1cc213d522c8 /hammer.py
parent[#2064] hammer.py: ensure postgres entry in hba (diff)
downloadkea-cc98e804bd94b107864951d81ba91af13fe3099f.tar.xz
kea-cc98e804bd94b107864951d81ba91af13fe3099f.zip
[#2064] hammer.py: install lxc on Debian (extra)
Diffstat (limited to 'hammer.py')
-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')