Refactor get_netboot() to add create_vm() compatibility
This commit is contained in:
parent
512aa14fe2
commit
c928d6caee
5
quickget
5
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user