mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Template file for 'dragonflybsd'
|
|
OSNAME="dragonflybsd"
|
|
PRETTY="DragonFlyBSD"
|
|
BASEDOF="FreeBSD"
|
|
DESCRIPTION="Provides an opportunity for the BSD base to grow in an entirely different direction from the one taken in the FreeBSD, NetBSD, and OpenBSD series"
|
|
HOMEPAGE="https://www.dragonflybsd.org"
|
|
CREDENTIALS="-"
|
|
GUEST="dragonflybsd"
|
|
|
|
RELEASES="6.4.2 6.4.1 6.4.0 6.2.2 6.2.1 6.0.1 6.0.0 5.8.3 5.8.2 5.8.1 5.8.0 5.6.3 5.6.2 5.6.1 5.6.0 5.4.3 5.4.2 5.4.1 5.4.0 5.2.2 5.2.1 5.2.0 5.0.2 5.0.1 5.0.0"
|
|
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO="dfly-x86_64-${RELEASE}_REL.iso.bz2"
|
|
local URL="http://mirror-master.dragonflybsd.org/iso-images"
|
|
HASH=$(web_pipe "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|
|
|
|
function distro_specific() {
|
|
# Could be other OS iso files compressed with bzip2 or gzip
|
|
# but for now we'll keep this to know cases
|
|
if [[ ${ISO} = *".bz2"* ]]; then
|
|
bzip2 -d "${VM_PATH}/${ISO}"
|
|
ISO="${ISO/.bz2/}"
|
|
fi
|
|
}
|
|
|
|
function specific_tweaks() {
|
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
}
|
|
|