There are actually 2 scripts. One that runs after reboot which call the scripts that sets the hostname
install-post.sh
Code:
cd /tmp/iqcustom/scripts
./set_hostname.sh
set_hostname.sh
Code:
local hn=""
while [ TRUE ]; do
echo -n "Enter host name: "
read hn
case $hn in
"")
# make sure something is entered
# will be confirmed later
continue
;;
*)
break
;;
esac
done
Could this be related to how the boot.log file is updated? The boot.log contains all the output from script.
I ask because I have experienced a similar but not exact issue using tee while prompting for input.