Extending PDF and IDF of Ericsson pod2 to all nodes
[kuberef.git] / deploy.sh
index 4ecd6c6..34f13e4 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -16,12 +16,14 @@ set -o nounset
 # Please refer to README for detailed information.
 
 # Get path information
-DIRECTORY=$(readlink -f $0)
-CURRENTPATH=$(dirname $DIRECTORY)
+DIRECTORY=$(readlink -f "$0")
+CURRENTPATH=$(dirname "$DIRECTORY")
 
 # Source env variables & functions
-source $CURRENTPATH/deploy.env
-source $CURRENTPATH/functions.sh
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
+# shellcheck source=./functions.sh
+source "$CURRENTPATH/functions.sh"
 
 # Clean up leftovers
 clean_up
@@ -33,9 +35,6 @@ clean_up
 create_jump
 setup_PXE_network
 
-# Get IP of the jumphost VM
-get_vm_ip
-
 # Copy files needed by Infra engine & BMRA in the jumphost VM
 copy_files_jump