Refactor get_dragonflybsd() to support create_vm()
This commit is contained in:
parent
4f201949cd
commit
5ac9a848eb
10
quickget
10
quickget
@ -790,15 +790,11 @@ function get_devuan() {
|
|||||||
|
|
||||||
function get_dragonflybsd() {
|
function get_dragonflybsd() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO=""
|
local ISO="dfly-x86_64-${RELEASE}_REL.iso"
|
||||||
local URL=""
|
local URL="http://mirror-master.dragonflybsd.org/iso-images"
|
||||||
|
|
||||||
URL="http://mirror-master.dragonflybsd.org/iso-images"
|
|
||||||
ISO="dfly-x86_64-${RELEASE}_REL.iso"
|
|
||||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4)
|
HASH=$(wget -q -O- "${URL}/md5.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_elementary() {
|
function get_elementary() {
|
||||||
|
Loading…
Reference in New Issue
Block a user