provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
433 B

9 months ago
9 months ago
  1. #!/bin/bash
  2. MIAOU_DIR="$(dirname "$0")/../.."
  3. readonly MIAOU_DIR
  4. function init_strict() {
  5. set -Eeuo pipefail
  6. # shellcheck source=/dev/null
  7. source "$MIAOU_DIR/lib/functions.sh"
  8. # shellcheck source=/dev/null
  9. source "/opt/miaou-bash/lib/functions.sh"
  10. trap 'trap_error $? $LINENO $BASH_LINENO "$BASH_COMMAND" $(printf "::%s" ${FUNCNAME[@]})' ERR
  11. }
  12. ## main
  13. init_strict
  14. sudo_required
  15. build_miaou_image "buster"