Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Sanity/gssapi-with-mic/runtest.sh b/Sanity/gssapi-with-mic/runtest.sh
- index e7a4935..2075644 100755
- --- a/Sanity/gssapi-with-mic/runtest.sh
- +++ b/Sanity/gssapi-with-mic/runtest.sh
- @@ -38,7 +38,10 @@ KRB5VAR="/var/kerberos/krb5kdc"
- SSHCONF="/etc/ssh"
- USR="tester"
- USR2="joozi"
- -IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' | head -n1`
- +IP=$(set -o pipefail;
- + ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' | head -n1 ||
- + ip addr show scope global | grep inet | head -n 1 | cut -d '/' -f 1 | rev | cut -d ' ' -f 1 | rev
- + )
- DNS="kerberos.example.com"
- TMP=`mktemp`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement