Refactor get_void() to add create_vm() compatibility
This commit is contained in:
parent
ffac1da503
commit
23b8e42374
4
quickget
4
quickget
|
@ -1179,9 +1179,7 @@ function get_void() {
|
||||||
xfce-musl) ISO="void-live-x86_64-musl-${DATE}-xfce.iso";;
|
xfce-musl) ISO="void-live-x86_64-musl-${DATE}-xfce.iso";;
|
||||||
esac
|
esac
|
||||||
HASH="$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)"
|
HASH="$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)"
|
||||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
check_hash "${ISO}" "${HASH}"
|
|
||||||
make_vm_config "${ISO}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_zorin() {
|
function get_zorin() {
|
||||||
|
|
Loading…
Reference in New Issue