mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_dragonflybsd() to support create_vm()
This commit is contained in:
parent
4f201949cd
commit
5ac9a848eb
1 changed files with 3 additions and 7 deletions
10
quickget
10
quickget
|
@ -790,15 +790,11 @@ function get_devuan() {
|
|||
|
||||
function get_dragonflybsd() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
local URL=""
|
||||
local ISO="dfly-x86_64-${RELEASE}_REL.iso"
|
||||
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)
|
||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
||||
check_hash "${ISO}" "${HASH}"
|
||||
make_vm_config "${ISO}"
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_elementary() {
|
||||
|
|
Loading…
Reference in a new issue