"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/common/newinput.sh" between
fogproject-1.5.7.tar.gz and fogproject-1.5.8.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

newinput.sh  (fogproject-1.5.7):newinput.sh  (fogproject-1.5.8)
skipping to change at line 22 skipping to change at line 22
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
while [[ -z $hostname ]]; do while [[ -z $hostname ]]; do
strSuggestedHostname=$(hostname -f) strSuggestedHostname=$(hostname -f)
blHost="N" blHost="N"
if [[ -z $autoaccept ]]; then if [[ -z $autoaccept ]]; then
echo echo
echo " *** New option 'hostname' since FOG 1.5.6 ***" echo " Which hostname would you like to use? Currently is: ${strSuggest
echo edHostname}"
echo " Would you like to change the default hostname >${strSuggestedHos echo " Note: This hostname will be in the certificate we generate for y
tname}<?" our"
echo " The fully qualified hostname is used for the webserver certifica echo " FOG webserver. The hostname will only be used for this but won't
te." be"
echo -n " If you are not sure, select No. [y/N] " echo " set as a local hostname on your server!"
echo -n " Would you like to change it? If you are not sure, select No.
[y/N] "
read blHost read blHost
fi fi
case $blHost in case $blHost in
[Nn]|[Nn][Oo]|"") [Nn]|[Nn][Oo]|"")
hostname=$strSuggestedHostname hostname=$strSuggestedHostname
;; ;;
[Yy]|[Yy][Ee][Ss]) [Yy]|[Yy][Ee][Ss])
echo -n " Which hostname would you like to use? " echo -n " Which hostname would you like to use? "
read hostname read hostname
;; ;;
 End of changes. 1 change blocks. 
7 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)