diff options
Diffstat (limited to 'cluster/openmosix-tools/CONFIGURE')
-rwxr-xr-x | cluster/openmosix-tools/CONFIGURE | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cluster/openmosix-tools/CONFIGURE b/cluster/openmosix-tools/CONFIGURE new file mode 100755 index 0000000000..653f7bbbf7 --- /dev/null +++ b/cluster/openmosix-tools/CONFIGURE @@ -0,0 +1,9 @@ +if ! grep -q "NODES=" $SPELL_CONFIG; then + + message "\nAll nodes MUST be valid addresses and if not numeric, then MUST be in /etc/hosts \n\t +${QUERY_COLOR}Please enter a space-seperated list of participating nodes${DEFAULT_COLOR}" + read -t ${PROMPT_DELAY} -e + NODES=${REPLY:="127.0.0.1"} + echo "NODES='$NODES'" >> $SPELL_CONFIG + +fi |