Skip to content
Snippets Groups Projects
Commit 7dd98d35 authored by Jan Pazdziora's avatar Jan Pazdziora
Browse files

Merge branch 'fedora-21-client' into fedora-rawhide-client

parents ba2eeaab f9446a85
No related merge requests found
......@@ -72,16 +72,18 @@ else
fi
fi
/usr/sbin/ipa-client-install $IPA_CLIENT_INSTALL $HOSTNAME_OPTS -p admin -w "$PASSWORD" -U --enable-dns-updates --no-nisdomain < /dev/null
/usr/sbin/ipa-client-install $IPA_CLIENT_INSTALL_OPTS $HOSTNAME_OPTS -p admin -w "$PASSWORD" -U --enable-dns-updates --no-nisdomain < /dev/null
cp -f /etc/hostname /etc/hostname.ipa-client
echo "FreeIPA-enrolled."
fi
if [ -t 0 ] ; then
echo 'Starting interactive shell.'
/bin/bash
else
echo 'Go loop.'
while true ; do sleep 1000 & wait $! ; done
if [ -z "$1" -o "$1" != "-s" ] ; then
if [ -t 0 ] ; then
echo 'Starting interactive shell.'
/bin/bash
else
echo 'Go loop.'
while true ; do sleep 1000 & wait $! ; done
fi
fi
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment