Jorn.jambers
February 12th, 2009, 05:16 PM
Dear,
I am trying to ask for user input during the %post section of a kickstart. The whole kickstart works fine except he doesn't ask for anything I requested(script below). He keeps waiting(hangs on Finishing the installation - Running kickseed...) When I switch terminal to tty3 I can see my first question but can't fill it in. And due to this the setup won't proceed. Is there a way to resolve this?
Thx in advance
%post
echo "################################"
echo "# Running Post Configuration #"
echo "################################"
echo -n "Give FQDN node: "
read hostn
hostname $hostn
echo $hostn > /etc/hostname
echo -n "IP-addres of Puppet-master: "
read puppetmip
echo -n "FQDN of Puppet-master: "
read puppetmfqdn
echo "$puppetmip $puppetmfqdn" >> /etc/hosts
puppetd --server $puppetmfqdn --verbose --waitforcert 60 --test
I am trying to ask for user input during the %post section of a kickstart. The whole kickstart works fine except he doesn't ask for anything I requested(script below). He keeps waiting(hangs on Finishing the installation - Running kickseed...) When I switch terminal to tty3 I can see my first question but can't fill it in. And due to this the setup won't proceed. Is there a way to resolve this?
Thx in advance
%post
echo "################################"
echo "# Running Post Configuration #"
echo "################################"
echo -n "Give FQDN node: "
read hostn
hostname $hostn
echo $hostn > /etc/hostname
echo -n "IP-addres of Puppet-master: "
read puppetmip
echo -n "FQDN of Puppet-master: "
read puppetmfqdn
echo "$puppetmip $puppetmfqdn" >> /etc/hosts
puppetd --server $puppetmfqdn --verbose --waitforcert 60 --test