no check certificate

master
fanta 2 years ago
parent 61f482d7b7
commit ff91bc10a1

5
q

@ -9,7 +9,7 @@ function main(){
function downloadSysList(){
mkdir -p $vmsDir
wget -q "http://fanta.56k.es/q/systems.lst" -O $vmsDir/.systems.lst
wget --no-check-certificate -q "http://fanta.56k.es/q/systems.lst" -O $vmsDir/.systems.lst
}
function downloadSysIsos(){
@ -25,7 +25,7 @@ function downloadSysIsos(){
if [ -f "$vmsDir/${data[0]}-${data[1]}-${data[2]}/$isoName" ]; then
echo " $vmsDir/${data[0]}-${data[1]}-${data[2]}/$isoName exists"
else
wget -q $url -O $vmsDir/${data[0]}-${data[1]}-${data[2]}/$isoName
wget --no-check-certificate -q $url -O $vmsDir/${data[0]}-${data[1]}-${data[2]}/$isoName
echo " Create img [$sizeDisc] $vmsDir/${data[0]}-${data[1]}-${data[2]}/${data[0]}-${data[1]}-${data[2]}.qcow2"
qemu-img create -q -f qcow2 "$vmsDir/${data[0]}-${data[1]}-${data[2]}/${data[0]}-${data[1]}-${data[2]}.qcow2" $sizeDisc
echo " Create install script"
@ -46,4 +46,3 @@ function showVms() {
}
main

Loading…
Cancel
Save