From 6e296e6bbccda0074b2812e667465c279f2164b6 Mon Sep 17 00:00:00 2001 From: Sreejith Punnapuzha Date: Thu, 11 Feb 2021 14:49:33 -0600 Subject: [PATCH] change libvirt-bin package libvirt-bin package have been split into 2 packages, libvirt-daemon-system and libvirt-clients. this commit changes the libvirt-bin package to the new packages. Also allows the install to work on 20.04 and is backwards compatible with 18.04. Signed-off-by: Sreejith Punnapuzha Change-Id: Ie005e8d167a00192dafcd1f0b34156aedfac5c83 --- image-builder/tools/cut_image.sh | 3 ++- roles/libvirt-install/tasks/main.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/image-builder/tools/cut_image.sh b/image-builder/tools/cut_image.sh index 772907f..c96cc45 100755 --- a/image-builder/tools/cut_image.sh +++ b/image-builder/tools/cut_image.sh @@ -44,7 +44,8 @@ sudo -E apt -y update install_pkg qemu-kvm install_pkg virtinst -install_pkg libvirt-bin +install_pkg libvirt-daemon-system +install_pkg libvirt-clients install_pkg cloud-image-utils install_pkg ovmf type docker >& /dev/null || install_pkg docker.io diff --git a/roles/libvirt-install/tasks/main.yaml b/roles/libvirt-install/tasks/main.yaml index d54a44c..63e6b06 100644 --- a/roles/libvirt-install/tasks/main.yaml +++ b/roles/libvirt-install/tasks/main.yaml @@ -18,7 +18,8 @@ - packages: Debian: - qemu - - libvirt-bin + - libvirt-daemon-system + - libvirt-clients - libguestfs-tools - qemu-kvm - python3-lxml