From e91efc786cac9f978f0c2bd1990e180a354837ca Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 11 Jun 2024 16:19:21 +0900 Subject: [PATCH] Fix missing qemu-img The qemu-img command is now required to convert qcow2 cirros image. Change-Id: Ic03034b9aa7fa8e1450d0f8e89a683587b199a04 --- all-in-one.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/all-in-one.sh b/all-in-one.sh index c4870e938..6caaa05e7 100755 --- a/all-in-one.sh +++ b/all-in-one.sh @@ -43,13 +43,13 @@ print_header 'Start (all-in-one.sh)' if is_fedora; then print_header 'Setup (RedHat based)' sudo -E $YUM -y remove facter puppet rdo-release - sudo -E $YUM -y install libxml2-devel libxslt-devel ruby-devel rubygems wget + sudo -E $YUM -y install libxml2-devel libxslt-devel ruby-devel rubygems wget qemu-img sudo -E $YUM -y groupinstall "Development Tools" DASHBOARD="dashboard" elif uses_debs; then print_header 'Setup (Debian based)' sudo apt-get update - sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev ruby wget lsb-release curl apt-transport-https adduser + sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev ruby wget lsb-release curl apt-transport-https qemu-img # Only purge puppet in Ubuntu, in Debian we use # what the distribution provides. if [ $(lsb_release --id -s) = "Ubuntu" ] ; then @@ -59,6 +59,7 @@ elif uses_debs; then fi if [ $(lsb_release --id -s) = "Debian" ] ; then + sudo apt-get install -y adduser if ! getent passwd puppet ; then adduser --disabled-password --gecos puppet,,, puppet fi