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

Re: Obtaining files in %post when there is no network connec



     Rebecca,
     
     I ran into the same problem when I tried to run a script with user 
     input during a kickstart install. What I ended up doing is having the 
     user login after the install, Mount a second floppy and run the script 
     that way.  There's probably an easier way, but this worked for me.
     
     Jeff


______________________________ Reply Separator _________________________________
Subject: Obtaining files in %post when there is no network connection
Author:  Rebecca R Krause seagate com at INTERNET-ACT
Date:    2/6/01 9:21 AM


Hi all,
     
I am working on the %post section of my ks.cfg file.  I don't have a 
network connection so I need to find some way to obtain tar.gz files during 
the %post.   My thought was to have the user insert a floppy containing 
tar.gz files.     Here is what I would like to do:
     
1)  tell the user to take out the kickstart floppy and insert a 2nd floppy 
containing python tar.gz files and prompt for user input with something 
like the following:
     
until [ $number -eq 1 -o $number -eq 2 ]; do
   echo "Please take out the kickstart floppy"
   echo "Insert python disk then make a choice from below and hit return" 
   echo "     1)  Install Python files"
   echo "     2)  Exit"
   read -e numberdone
done
     
When I try to echo a message to the screen during the %post section, it 
just locks up.  I haven't found documentation
anywhere where someone has done this so I don't even know if it is 
possible.  Is it?  Do you have any suggestions on a better way to obtain 
files during the %post when I don't have a network connection?   Also, if I 
would have a user take the kickstart floppy out during the post install and 
insert a second floppy to copy files from, does the kickstart floppy need 
to go back in in order to finish  up the %post stuff?
     
Any help would be appreciated!
     
     
     
_______________________________________________ 
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list





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