domain + subdomain
This commit is contained in:
@@ -111,7 +111,7 @@ COMMAND_NAME=$(basename "$0")
|
||||
|
||||
# read the options
|
||||
|
||||
TEMP=$(getopt -n "$COMMAND_NAME" -o crud --long port:,container:,name:,fqdn:,data: -- "$@")
|
||||
TEMP=$(getopt -n "$COMMAND_NAME" -o crud --long port:,container:,name:,fqdn:,domain:,subdomain:,data: -- "$@")
|
||||
# shellcheck disable=SC2181
|
||||
[[ "$?" -eq 0 ]] || usage
|
||||
eval set -- "$TEMP"
|
||||
@@ -144,6 +144,12 @@ while true; do
|
||||
longname="odoo12-$shortname"
|
||||
shift 2
|
||||
;;
|
||||
--domain)
|
||||
shift 2
|
||||
;;
|
||||
--subdomain)
|
||||
shift 2
|
||||
;;
|
||||
--data)
|
||||
data=$2
|
||||
shift 2
|
||||
@@ -173,7 +179,7 @@ while true; do
|
||||
break
|
||||
;;
|
||||
*)
|
||||
echoerr "Internal error!"
|
||||
echoerr "Internal error: unrecognized option: <$1>"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user