RE: [suse-autoinstall] netsetup
I've had good luck with using this for user interaction (this is a fragment of a script which constructs a user account according to the user's input): #!/bin/sh /bin/chvt 9 exec < /dev/tty9 > /dev/tty9 ### BEGIN USER INTERACTION HERE ### ans="n" while [ 1 ] do echo Please enter your first and last name. You may enter a middle name echo or initial if you wish. read fullname while [ 0 ] do echo Is "$fullname" right \(Y/N\)?\ read ans if [[ "$ans" == "y" || "$ans" == "n" || "$ans" == "Y" || "$ans" == "N" ]] then break fi done if [[ "$ans" == "y" || "$ans" == "Y" ]] then break fi done ### END USER INTERACTION HERE ### /bin/chvt 7 -----Original Message----- From: Pierre Allix [mailto:pierre.allix@idealx.com] Sent: Wednesday, February 23, 2005 9:34 AM To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] netsetup
That parameter only affects the very first setup of networking that is used for installing packages. You have to set up the rest in (auto)yast.
Ok, thanks. I suppose autoyast can't ask the user for this information (and only for these) or not ? I think I have to create a rc script. -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (1)
-
Schumacher, Gordon