From c928d6caee43d17baeed7c452058f27244987948 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 23 Feb 2022 10:49:11 +0000 Subject: [PATCH] Refactor get_netboot() to add create_vm() compatibility --- quickget | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/quickget b/quickget index 2165238..75bfd9b 100755 --- a/quickget +++ b/quickget @@ -994,11 +994,8 @@ function get_netboot() { local ISO="netboot.xyz.iso" local HASH="" local URL="https://boot.netboot.xyz/ipxe" - HASH=$(wget -q -O- "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) - web_get "${URL}/${ISO}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" + echo "${URL}/${ISO} ${HASH}" } function get_netbsd() {