[opensuse-autoinstall] Installation Sources
Hi all, I am quite new to autoyast, but trying to deploy openSUSE 11.2 Just wanted to know if it's possible to define a set of installation repositories, e.g. initial installation should be done via an official oS mirror, and additional packages should be installed from buildservice repos. Best Regards Marcus -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Current best practise for me: 1) Have a local mirror of the later used - external - repositories In case the external side has removed the repo ( like for OS 10.3) you have a local one :-) 2) During autoyast installation only the images from the official release incl. Updates is used 3) A post install script adds the additional mirrored or external repos to the node Example: /usr/bin/zypper --no-gpg-checks --non-interactive ar -n \ 'OpenSuse 11.1 32bit local' http://localserver/export/suse/sl111/x86addon \ localaddons /usr/bin/zypper --no-gpg-checks --non-interactive ar -n \ 'OpenSuse 11.1 gwdg.de' http://ftp5.gwdg.de/pub/opensuse/distribution/11.1/repo/oss \ gwdg.de /usr/bin/zypper --no-gpg-checks --non-interactive ar -n \ 'OpenSuse 11.1 packman' http://ftp5.gwdg.de/pub/linux/misc/packman/suse/11.1 \ packman /usr/bin/zypper --no-gpg-checks --non-interactive ar -n \ 'Science gwdg.de' http://ftp5.gwdg.de/pub/opensuse/repositories/science/openSUSE_11.1 \ science /usr/bin/zypper --no-gpg-checks --non-interactive refresh 4) A update script add/removes/update required software for the node I think during installation it must be a init script Example: ... echo " java-1_6_0-sun java-1_6_0-sun-plugin db1 db1-devel libffi-devel libffi43 libffi43-devel scite filezilla libadns1 memprof python-matplotlib python-matplotlib-tk python-matplotlib-wx h5utils lyx " echo "$sw" | grep -v "^$" |\ while read i ; do /usr/bin/zypper --no-gpg-checks --non-interactive in --auto-agree-with-licenses $i done YMMV and there are other ways ( including the repos in the autoyast XML file ...) Hajo -----Original Message----- From: mmoeller@econet.ch [mailto:mmoeller@econet.ch] On Behalf Of Marcus Moeller Sent: Thursday, March 25, 2010 4:16 PM To: opensuse-autoinstall@opensuse.org Subject: [opensuse-autoinstall] Installation Sources Hi all, I am quite new to autoyast, but trying to deploy openSUSE 11.2 Just wanted to know if it's possible to define a set of installation repositories, e.g. initial installation should be done via an official oS mirror, and additional packages should be installed from buildservice repos. Best Regards Marcus -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Mar 25, 2010 at 16:31, Hans-Joachim Ehlers <HansJoachim.Ehlers@eumetsat.int> wrote:
Current best practise for me: [...]
We use the same for step 1, but our machines also get all the other repos via autoyast (as opposed to Hajos #2), and install all their packages during installation. This extends the duration of the installation to about one hour (instead of like 15 minutes), but that is acceptable in our case. That way, we also have a more fine-grained control of the per-repo-gpg-settings (one could also say it takes a moment to grasp the differences between all those gpg settings autoyast offers; but for our scenario, everything is better than just turning gpg checks off as in #3. And to be fair: As long as you are not using fancy (read: broken), half-signed-half-not repositories, setting them up via autoyast should be trivial). I posted our config here (sorry, the formatting is gone, but the repo stuff is short): http://lists.opensuse.org/opensuse-autoinstall/2010-03/msg00010.html For 11.2, you could also put nonessential packages into post-packages/post-patterns (Uwe briefly described them here: http://ugansert.blogspot.com/2008/08/post-patterns-in-autoyast.html), but we failed at our first attempt to do that for 11.1 and haven't tried it for 11.2 yet. But this would only speed up the time until the first reboot, but not the overall installation time (in other words, the system will not be ready-to-use faster). tty, 686f6c6d -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
686f6c6d
-
Hans-Joachim Ehlers
-
Marcus Moeller