Re: autoinstallation using images in oS13.2?
[email protected] Tue, 10 Mar 2015 11:46:53 +0100
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <OF62B06462.924AA06E-ONC1257E04.003A85D0-C1257E04.003B39A8@physik.uni-wuerzburg.de> |
Hello, Johannes Meixner <[email protected]> wrote on 19/02/2015 10:59:36: > Hello, > > On Feb 19 10:25 [email protected] wrote (excerpt): > >> the autoyast documentation in oS13.2 does not mention images > >> any longer. > >> Does it still work? I used it once upon a time, but don't > >> remember how. > >> I also don't find a documentation for it. Is the image > >> just a tar.gz of a preconfigured system? > >> How do I specify it in the control file? > > > > I finally found something: > > https://en.opensuse.org/SDB:Disaster_Recovery > > > > It has instructions for "Native disaster recovery with AutoYaST" > > https://en.opensuse.org/ > SDB:Disaster_Recovery#Native_disaster_recovery_with_AutoYaST > > Wow! > It seems you are the very first who recognized it! > > The original documentation about "imaging feature"/"image script" is > http://users.suse.com/~ug/autoyast_changes_SLES10_SLES11.html > > I (mis)-used it in rear-SUSE to skip RPM package installation > in AutoYaST in the same way as described at "Other possible ways > to do native disaster recovery with AutoYaST" in > https://en.opensuse.org/SDB:Disaster_Recovery > > You may have a look at the original rear-SUSE documentation in > /usr/share/doc/packages/rear-SUSE/README in the rear-SUSE RPM. > You can "just install" the rear-SUSE RPM from > http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_13.2/noarch/ > The RPM installation won't do anything in your system > (except that you get its files stored on your disk). > For anything after SLE11 (in particular for SLE12 and 13.2) > rear-SUSE can no longer work because the whole installation > workflow is meanwhile too different (new installer, systemd > instead of sysVinit, ...). > Nevertheless the general information in the rear-SUSE README > might be still of interest. I have a question about the changes to the autoyast.xml file. On the page https://en.opensuse.org/SDB:Disaster_Recovery#How_does_autoinst.xml_for_native_disaster_recovery_with_AutoYaST_look_like.3F in the second box you add <image_location>http://my_internal_http_server</image_location> <image_name>backup-restore-image</image_name> in the <image> section. Is this really working? The restore script specified in <script_location>http://my_internal_http_server/backup-restore.sh </script_location> has no way to get those definitions, does it? Your example skript hardcodes the location and name of the image. -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]