Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LloydAsp committed Jan 3, 2024
1 parent 9824990 commit 92a6e9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OsMutation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ function download_rootfs(){
if [ "$cttype" == 'lxc' ] ; then
#rootfs.tar.xz
wget -qO- $download_link | tar -C /x -xJv
else if [ "$cttype" == 'openvz' ] ; then
elif [ "$cttype" == 'openvz' ] ; then
#rootfs.tar.gz
wget -qO- $download_link | tar -C /x -xzv
else if [ "$cttype" == 'kvm' ] ; then
elif [ "$cttype" == 'kvm' ] ; then
echo "kvm is not supported by this script"
exit 1
fi
Expand Down Expand Up @@ -250,7 +250,7 @@ function main(){
elif [ "$cttype" == 'lxc' ] ; then
read_lxc_template
elif [ "$cttype" == 'kvm' ] ; then
curl -qo takeover.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutationKvm.sh
curl -qo OsMutationKvm.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutationKvm.sh
chmod u+x OsMutationKvm.sh
./OsMutationKvm.sh
exit 0
Expand Down

0 comments on commit 92a6e9f

Please sign in to comment.