diff --git a/quickget b/quickget index eac84d2..2e94458 100755 --- a/quickget +++ b/quickget @@ -1,5 +1,24 @@ #!/usr/bin/env bash +# Here the quick 'n dirty guide to adding a new OS to quickget +# +# 1. Add the new OS, all lowercase, to os_support() +# 2. Add a "pretty name" display name to pretty_name() +# 3. Create a releases_newos() generator that outputs the currently supported release versions +# 4. Add the new OS to make_vm_config() +# 5. Create a get_newos() function that does something like this: +# function get_newos() { +# local ISO="" +# local URL="" +# +# validate_release "releases_newos" +# ISO="newos-${RELEASE}-amd64.iso" +# URL="https://www.newos.org/download/${ISO}" +# web_get "${URL}" "${VM_PATH}" +# make_vm_config "${ISO}" +# } +# 6. Add new OS to the argument parser at the bottom of the script + function pretty_name() { local OS="${1}" local PRETTY_NAME=""