Skip to content

Commit

Permalink
Update deploy-image-by-profile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
goffinet committed Nov 17, 2020
1 parent f982762 commit 4ea1619
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy-image-by-profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ network=$2
profile=$3
parameters=$#
# osinfo-query os
if [ $image = "bionic.qcow2" ]; then
if [ $image = "bionic" ]; then
os="ubuntu18.04"
fi
if [ $image = "debian10.qcow2" ]; then
if [ $image = "debian10" ]; then
os="debian9"
fi
if [ $image = "centos7.qcow2" ]; then
if [ $image = "centos7" ]; then
os="centos7.0"
fi
if [ $image = "focal.qcow2" ]; then
if [ $image = "focal" ]; then
os="ubuntu18.04"
fi
if [ $image = "centos8.qcow2" ]; then
if [ $image = "centos8" ]; then
os="centos7.0"
fi
if [ $image = "fedora32.qcow2" ]; then
if [ $image = "fedora32" ]; then
os="fedora28"
fi

Expand Down

0 comments on commit 4ea1619

Please sign in to comment.