Skip to content

Commit

Permalink
CORTX-30751: Codacy code cleanup (Seagate#1606) (Seagate#1965)
Browse files Browse the repository at this point in the history
This patch fixes some of the codacy warnings.
warning fixed : "Double quote to prevent globing and words splitting".

Signed-off-by: Rinku Kothiya <rinku.kothiya@seagate.com>
  • Loading branch information
rkothiya authored and kiwionly2 committed Aug 30, 2022
1 parent 9274ef2 commit 72e392f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/provisioning/vmhost/prepare-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 72e392f

Please sign in to comment.