Re: user input in %post section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ForrestX,

  I mean that when I type something that it does not respond.  And, here is that section of the script....

Thanks,
-Todd

chvt 3
set -x
echo "Enter blast host number (1-34, etc.): \c"
# read BLNUM
BLNUM=blast24
echo -n "The hostname of this blast machine will be blast${BLNUM}"

if grep "^HOSTNAME=" /etc/sysconfig/network > /dev/null 2>&1
then
        cat /etc/sysconfig/network | sed -e "s/^HOSTNAME.*/HOSTNAME=blast${BLNUM}/" > /etc
/sysconfig/network.old
        mv /etc/sysconfig/network.old /etc/sysconfig/network.new
        mv /etc/sysconfig/network.new /etc/sysconfig/network

"Taylor, ForrestX" wrote:

Todd Chilson wrote:
> Hi,
>
>   When I try to get my user input the %post section of the read command
> does not accept my input.  However, if I give assign the variable a
> number it works.  ??  Huh?
> Any thoughts on what I am doing wrong?

When you say that it does not accept input, does that mean that you
cannot type anything, or that you type something and hit enter, but it
doesn't respond?  Maybe you should post the relevent part of your %post
section.

Forrest
--

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list

-- 
------------------
Todd Chilson
Desktop Support
Incyte Genomics
Tel # 978-816-0226
------------------
 

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux