[opensuse-autoinstall] List of available Pattern
Hi there, is there somewhere a list of all available <pattern> in SLES11? I want to include the 32-Bit-Runtime Environment. I have no idea how it has to be called in autoyast. Cheers, edy -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Wednesday 11 November 2009 15:02:23 Eduard Diner wrote:
Hi there, is there somewhere a list of all available <pattern> in SLES11? I want to include the 32-Bit-Runtime Environment. I have no idea how it has to be called in autoyast.
Doing 'zypper search -t pattern' (without additional parameters) lists all patterns available on all subscribed repositories in a nice tabular form. I think the pattern you are looking for is named simply '32bit', but I'm not sure. zypper will tell more fB. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Given: OS 11.1 Patch 20091116 Task: Install software in stage 2 to configure the printer via a post script # Install via zypper # Get printer.xml configuration file via wget # Use ayast_setup setup to configure the printer via yast. zypper --no-gpg-checks --non-interactive in http://10.11.8.3/export/suse/sl111/x86addon/yast2-printer-2.18.19-10.15.i586... rm /root/printer.xml 2>/dev/null cd /root/ && wget http://10.11.8.3:/export/suse/sl111/autoinstall/classes/printer.xml cd - yast ayast_setup setup filename=/root/printer.xml Problem: zypper can not install the new yast2-printer rpm because of a locked system management . Thus the final printer configuration will fail. Log: + zypper --no-gpg-checks --non-interactive in http://10.11.8.3/export/suse/sl111/x86addon/yast2-printer-2.18.19-10.15.i586... --->>>>>>>> System management is locked by the application with pid 4729 (y2base). Close this application before trying again. + rm /root/printer.xml + cd /root/ + wget http://10.11.8.3:/export/suse/sl111/autoinstall/classes/printer.xml --2009-11-12 20:53:41-- http://10.11.8.3/export/suse/sl111/autoinstall/classes/printer.xml ... + yast ayast_setup setup filename=/root/printer.xml Note: I have a base OS 11.1 repostory ( from DVD ) and a frozen update repository available during the installation but would like not to mess around with them. Question: So with which script ( pre/post/chroot ) can i add additional software during installation ? In case it is not possible i will use a post installation script ( After autoyast post script ) to do the configuration via: ( The main problem with running yast after an initial installation is, that yast requires a screen thus by default you can not run it in unattended mode ( All AFAIK ) cat ./chenv ## Run Stage 2 Yast configuration for stuff forgotten in the initial configuration export TERM=vt100 #cd /tmp # #for i in "printer.xml" ; do #echo "INFO: Running Yast Stage 2 configuration for $i " # wget --no-clobber http://installsrv:${basedir}/autoinstall/classes/$i # screen -D -m yast /usr/share/YaST2/clients/ayast_setup.ycp setup filename=/tmp/$i #echo -e "\tINFO: End of Yast Stage 2 configuration." #done #cd - tia Hajo
on Friday 13 November 2009 Hans-Joachim Ehlers wrote:
Question: So with which script ( pre/post/chroot ) can i add additional software during installation ?
that's a FAQ: http://www.suse.de/~ug/AutoYaST_FAQ.html#ac -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Question: So with which script ( pre/post/chroot ) can i add additional software during installation ?
that's a FAQ: http://www.suse.de/~ug/AutoYaST_FAQ.html#ac
Sorry, not that I have not searched. This means that I have to stay with my post script solution anyway - thus it will be executed from the autoyast init script. BTW: Would be nice to put the information for running yast in unattended mode into the ayast_setup.ycp section of your FAQ. because with this solution you are able to reconfigure a OpenSuse installation in unattended mode by using a xml file. At least the stage 2 part. # Reconfigure remotely a OpenSuse Installation after its already configured via yast. # Example: Reconfigure the printer. ssh --batch MyClient \ "screen -D -m yast /usr/share/YaST2/clients/ayast_setup.ycp \ setup filename=/tmp/printer.xml" thx Hajo -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Wednesday 11 November 2009 Eduard Diner wrote:
is there somewhere a list of all available <pattern> in SLES11? I want to include the 32-Bit-Runtime Environment. I have no idea how it has to be called in autoyast.
you can use the autoyast UI for tasks like that too. It can show you the XML code and you can click on the patterns you want. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Eduard Diner
-
Hans-Joachim Ehlers
-
Katarina Machalkova
-
Uwe Gansert