diff options
author | Andrei Pavel <andrei.pavel@mail.com> | 2021-09-06 19:32:08 +0200 |
---|---|---|
committer | Andrei Pavel <andrei.pavel@mail.com> | 2021-09-06 19:32:08 +0200 |
commit | cc98e804bd94b107864951d81ba91af13fe3099f (patch) | |
tree | 60a92ecd5e63e67f014b288eeeff1cc213d522c8 | |
parent | [#2064] hammer.py: ensure postgres entry in hba (diff) | |
download | kea-cc98e804bd94b107864951d81ba91af13fe3099f.tar.xz kea-cc98e804bd94b107864951d81ba91af13fe3099f.zip |
[#2064] hammer.py: install lxc on Debian (extra)
-rwxr-xr-x | hammer.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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') |