diff options
author | Markos Chandras <mchandras@suse.de> | 2018-05-11 16:05:39 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-05-11 16:05:39 +0100 |
commit | 6e53a9ff59d449eb3905c217ef6207ed4a01d487 (patch) | |
tree | 49044bcbbcbe9bb1943f167ed72a15d0fbfd92ca /xci | |
parent | d36aa803ab5b4a141b5487cd782949fecdd5382b (diff) |
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 <mchandras@suse.de>
Diffstat (limited to 'xci')
-rwxr-xr-x | xci/scripts/vm/start-new-vm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" ;; |