Commit 5495deb 1 parent 5175e68 commit 5495deb Copy full SHA for 5495deb
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 30
30
usage () {
31
31
# do not document --from-git option; it's for developers only
32
32
cat << EOF
33
- ` basename $0 ` [-h|--help] [-v|--verbose] [-d|--debug]
33
+ ` basename $0 ` [-h|--help] [-v|--verbose] [-d|--debug] [-c|--crowbar]
34
34
35
35
Install Crowbar on administration server.
36
36
EOF
@@ -42,6 +42,7 @@ while test $# -gt 0; do
42
42
-h|--help|--usage|-\? ) usage ;;
43
43
-v|--verbose) CROWBAR_VERBOSE=1 ;;
44
44
-d|--debug) CROWBAR_DEBUG=1 ;;
45
+ -c|--crowbar) CROWBAR_WIZARD_MODE=1 && CROWBAR_VERBOSE=1 ;;
45
46
--from-git) CROWBAR_FROM_GIT=1 ;;
46
47
* ) ;;
47
48
esac
@@ -301,7 +302,7 @@ IPv4_addr=$( getent ahosts $FQDN 2>/dev/null | awk '{ if ($1 !~ /:/) { print $1;
301
302
302
303
echo_summary " Performing sanity checks"
303
304
304
- if [ -n " $SSH_CONNECTION " -a -z " $STY " ]; then
305
+ if [ -n " $SSH_CONNECTION " -a -z " $STY " ] && [ -z " $CROWBAR_WIZARD_MODE " ] ; then
305
306
die " Not running in screen. Please use \" screen $0 \" to avoid problems during network re-configuration. Aborting."
306
307
fi
307
308
You can’t perform that action at this time.
0 commit comments