]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2064] hammer.py: install lxc on Debian (extra)
authorAndrei Pavel <andrei.pavel@mail.com>
Mon, 6 Sep 2021 17:32:08 +0000 (20:32 +0300)
committerAndrei Pavel <andrei.pavel@mail.com>
Mon, 6 Sep 2021 17:32:08 +0000 (20:32 +0300)
hammer.py

index db344097fc8aa6c99b7be9a454454486151a091b..25391baa1d62630fd297524b2dc74f59f518ef1b 100755 (executable)
--- 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')