From e75d4d8149629e147ac2e6a1f9d06b2315e01fd0 Mon Sep 17 00:00:00 2001 From: Rinku Kothiya Date: Sat, 20 Aug 2022 15:11:58 +0530 Subject: [PATCH] CORTX-30751: Codacy code cleanup (#1606) (#1965) This patch fixes some of the codacy warnings. warning fixed : "Double quote to prevent globing and words splitting". Signed-off-by: Rinku Kothiya --- scripts/provisioning/vmhost/prepare-host.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/provisioning/vmhost/prepare-host.sh b/scripts/provisioning/vmhost/prepare-host.sh index 8ed0b1d2b03..33be20354d2 100755 --- a/scripts/provisioning/vmhost/prepare-host.sh +++ b/scripts/provisioning/vmhost/prepare-host.sh @@ -71,7 +71,7 @@ wget https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.rpm sudo yum -y install ./vagrant_2.2.6_x86_64.rpm rm -fv ./vagrant_2.2.6_x86_64.rpm vagrant plugin install vagrant-{env,hostmanager,scp,libvirt} -sudo usermod -a -G libvirt $USER +sudo usermod -a -G libvirt "$USER" mv "/usr/bin/kvm" "/usr/bin/kvm--`date +'%d%m%Y_%H%M%S_%s'`" sudo ln -s /usr/libexec/qemu-kvm /usr/bin/kvm ls -l /usr/bin/kvm @@ -89,14 +89,14 @@ echo -en "\nIf you already have the box image of the Vanila [CentOS/7] Box, ente read -t 300 box_path -cd $HOME +cd "$HOME" mkdir Centos7 cd Centos7 vagrant init "Centos/7" if [ "$box_path" == "" ]; then vagrant box add Centos/7 --provider=libvirt else - vagrant box add "Centos/7" $box_path + vagrant box add "Centos/7" "$box_path" fi vagrant up vagrant status