|
|
@ -994,11 +994,8 @@ function get_netboot() { |
|
|
|
local ISO="netboot.xyz.iso" |
|
|
|
local ISO="netboot.xyz.iso" |
|
|
|
local HASH="" |
|
|
|
local HASH="" |
|
|
|
local URL="https://boot.netboot.xyz/ipxe" |
|
|
|
local URL="https://boot.netboot.xyz/ipxe" |
|
|
|
|
|
|
|
|
|
|
|
HASH=$(wget -q -O- "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) |
|
|
|
HASH=$(wget -q -O- "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) |
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
echo "${URL}/${ISO} ${HASH}" |
|
|
|
check_hash "${ISO}" "${HASH}" |
|
|
|
|
|
|
|
make_vm_config "${ISO}" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get_netbsd() { |
|
|
|
function get_netbsd() { |
|
|
|