Merge "DNS add option for display target machine info"
authorBorislav Glozman <Borislav.Glozman@amdocs.com>
Mon, 16 Mar 2020 12:16:11 +0000 (12:16 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 16 Mar 2020 12:16:11 +0000 (12:16 +0000)
kubernetes/contrib/dns-server-for-vhost-ingress-testing/deploy_dns.sh

index a78bc07..81533b9 100755 (executable)
@@ -26,6 +26,8 @@ cat << ==usage
 $0 [cluster_domain] [helm_chart_args ...]
        [cluster_domain] Default value simpledemo.onap.org
        [helm_chart_args...] Optional arguments passed to helm install command
+$0 --help This message
+$0 --info Display howto configure target machine
 ==usage
 }
 
@@ -57,6 +59,8 @@ deploy() {
 
 if [[ $# -eq 1 ]] && [[ $1 == "-h" || $1 == "--help" ]]; then
        usage
+elif [[ $# -eq 1 ]] && [[ $1 == "--info" ]]; then
+       target_machine_notice_info
 else
        deploy $@
 fi