Replace localhost with K8s Master IP in kubeconfig
[kuberef.git] / deploy.sh
index def7d95..b2426b3 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,12 +1,8 @@
 #!/bin/bash
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) Ericsson AB and others
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Ericsson AB and others
+#
+# SPDX-License-Identifier: Apache-2.0
 
 set -o errexit
 set -o nounset
@@ -61,14 +57,14 @@ copy_files_jump
 # Setup networking (Adapt according to your network setup)
 # ---------------------------------------------------------------------
 if [[ "$DEPLOYMENT" == "full" ]]; then
-    provision_hosts
+    provision_hosts_baremetal
     setup_network
 fi
 
 # ---------------------------------------------------------------------
 # Provision k8s cluster (currently BMRA)
 # ---------------------------------------------------------------------
-provision_k8s
+provision_k8s_baremetal
 
 # ---------------------------------------------------------------------
 # Copy kubeconfig to desired location