Move config to..
This commit is contained in:
parent
eaacb71537
commit
7cf31e3212
|
|
@ -18,3 +18,9 @@ function get_() {
|
||||||
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1)
|
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1)
|
||||||
echo "${URL}/${ISO}.iso ${HASH}"
|
echo "${URL}/${ISO}.iso ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function specific_tweaks() {
|
||||||
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
||||||
|
echo "disk_size=\"4G\"" >> "${CONF_FILE}"
|
||||||
|
echo "ram=\"512M\"" >> "${CONF_FILE}"
|
||||||
|
}
|
||||||
|
|
|
||||||
5
quickget
5
quickget
|
|
@ -671,11 +671,6 @@ EOF
|
||||||
slint)
|
slint)
|
||||||
echo "disk_size=\"50G\"" >> "${CONF_FILE}"
|
echo "disk_size=\"50G\"" >> "${CONF_FILE}"
|
||||||
;;
|
;;
|
||||||
slitaz)
|
|
||||||
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
||||||
echo "disk_size=\"4G\"" >> "${CONF_FILE}"
|
|
||||||
echo "ram=\"512M\"" >> "${CONF_FILE}"
|
|
||||||
;;
|
|
||||||
truenas-scale|truenas-core)
|
truenas-scale|truenas-core)
|
||||||
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
||||||
# the rest is non-functional
|
# the rest is non-functional
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue