Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b9b061a

Browse files
committed
added user-input check
1 parent dad9299 commit b9b061a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎server_management/Debian/install_salt_minion.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ if [[ $(/usr/bin/id -u) != "0" ]]; then
1212
exit
1313
fi
1414

15+
if [ "1ドル" != "" ]; then
16+
new_hostname=1ドル
17+
else
18+
echo -e "Usage: ./install_salt_minion.sh <salt-master-ip>\nPlease run the script once more WITH the Salt Master's IP address."
19+
exit
20+
fi
21+
1522
MASTERIP=1ドル
1623

1724
install_minion() {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /