From 6e53a9ff59d449eb3905c217ef6207ed4a01d487 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 11 May 2018 16:05:39 +0100 Subject: xci: scripts: start-new-vm.sh: Fix ID for openSUSE Tumbleweed Recent openSUSE Tumbleweed releases are now using 'opensuse-tumbleweed' as distro ID so we need to take that into consideration in order to be able to use the script on such systems. ~$ source /etc/os-release && echo ${ID} opensuse-tumbleweed Change-Id: Ibdfb4292d53dc4d20376230a4131b212f9492e54 Signed-off-by: Markos Chandras --- xci/scripts/vm/start-new-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index f266d64f..8f6effe0 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -118,7 +118,7 @@ fi COMMON_DISTRO_PKGS=(vim strace gdb htop dnsmasq docker iptables ebtables virt-manager qemu-kvm) case ${ID,,} in - *suse) + *suse*) pkg_mgr_cmd="sudo zypper -q -n ref" pkg_mgr_cmd+=" && sudo zypper -q -n install ${COMMON_DISTRO_PKGS[@]} qemu-tools libvirt-daemon libvirt-client libvirt-daemon-driver-qemu" ;; -- cgit 1.2.3-korg