Skip to content
Snippets Groups Projects
Commit d19020a1 authored by Mike Hanby's avatar Mike Hanby
Browse files

Added a conditional test to the compute_create script to exit if the user does...

Added a conditional test to the compute_create script to exit if the user does not provide a compute node name as the argument
parent 0caef2f5
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
# #
# node is constrained to boot on the internal "compute" network # node is constrained to boot on the internal "compute" network
if [[ "$1" == "" ]]; then
echo "Please provide the name for the new compute node as the only argument"
exit 1
fi
nodename="$1" nodename="$1"
# Ensure that the $HOME/iso directory exists # Ensure that the $HOME/iso directory exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment