File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ CNI_VERSION="v${3}"
3737echo " Downloading CNI ${CNI_VERSION} ..."
3838cni_dir=" ${working_dir} /cni/"
3939mkdir -p " ${cni_dir} "
40- curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-amd64-${CNI_VERSION} .tgz" -o " ${cni_dir} /cni-plugins-amd64.tgz"
40+ cni_status_code=$( curl -L --write-out " %{http_code}\n" " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-linux-amd64-${CNI_VERSION} .tgz" -o " ${cni_dir} /cni-plugins-amd64.tgz" )
41+ if [[ ${cni_status_code} -eq 404 ]] ; then
42+ curl -L --write-out " %{http_code}\n" " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-amd64-${CNI_VERSION} .tgz" -o " ${cni_dir} /cni-plugins-amd64.tgz"
43+ fi
4144
4245CRICTL_VERSION=" v${4} "
4346echo " Downloading CRI tools ${CRICTL_VERSION} ..."
Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ else
150150fi
151151
152152echo ' md5'
153- gpg -v --print-md MD5 apache-cloudstack-$version -src.tar.bz2 > apache-cloudstack-$version -src.tar.bz2.md5
153+ md5sum apache-cloudstack-$version -src.tar.bz2 > apache-cloudstack-$version -src.tar.bz2.md5
154154
155155echo ' sha512'
156- gpg -v --print-md SHA512 apache-cloudstack-$version -src.tar.bz2 > apache-cloudstack-$version -src.tar.bz2.sha512
156+ sha512sum apache-cloudstack-$version -src.tar.bz2 > apache-cloudstack-$version -src.tar.bz2.sha512
157157
158158echo ' verify'
159159gpg -v --verify apache-cloudstack-$version -src.tar.bz2.asc apache-cloudstack-$version -src.tar.bz2
Original file line number Diff line number Diff line change @@ -1052,6 +1052,9 @@ export default {
10521052 if (' isvolatile' in values && values .isvolatile !== undefined ) {
10531053 params .isvolatile = values .isvolatile === true
10541054 }
1055+ if (' systemvmtype' in values && values .systemvmtype !== undefined ) {
1056+ params .systemvmtype = values .systemvmtype
1057+ }
10551058 if (values .ispublic !== true ) {
10561059 var domainIndexes = values .domainid
10571060 var domainId = null
You can’t perform that action at this time.
0 commit comments