Use group libvirt instead of libvirtd 29/120029/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 30 Mar 2021 22:10:08 +0000 (15:10 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Tue, 30 Mar 2021 22:10:08 +0000 (15:10 -0700)
This fixes the following error when running ./setup.sh -p libvirt:

  usermod: group 'libvirtd' does not exist

Newer versions of Ubuntu appear to have renamed the libvirtd group to
libvirt.

Issue-ID: MULTICLOUD-1322
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I54ffc4558cb8945e8c9f9ca751518b20a6de64d0

kud/hosting_providers/vagrant/setup.sh

index db6a732..eabf452 100755 (executable)
@@ -94,7 +94,6 @@ case ${ID,,} in
     ;;
 
     ubuntu|debian)
-    libvirt_group="libvirtd"
     INSTALLER_CMD="sudo -H -E apt-get -y -q=3 install"
     packages+=(python-dev)