Refactor get_gentoo() to add create_vm() compatibility
This commit is contained in:
parent
039d1773e4
commit
0ea2d1b3aa
4
quickget
4
quickget
@ -827,9 +827,7 @@ function get_gentoo() {
|
|||||||
|
|
||||||
ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1)
|
ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1)
|
||||||
HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep iso | grep -v CONTENTS | cut -d' ' -f1)
|
HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep iso | grep -v CONTENTS | cut -d' ' -f1)
|
||||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
check_hash "$(basename "${ISO}")" "${HASH}"
|
|
||||||
make_vm_config "${ISO}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_ghostbsd() {
|
function get_ghostbsd() {
|
||||||
|
Loading…
Reference in New Issue
Block a user