Re: autoinstallation using images in oS13.2?

Johannes Meixner <[email protected]> Tue, 10 Mar 2015 12:47:38 +0100 (CET)
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Hello,

On Mar 10 11:46 [email protected] wrote (excerpt):
> 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.

Many thanks for your feedback!

The <image_name>backup-restore-image</image_name> is misleading.

I replaced it with
<image_name>backup-restore-script</image_name>
to make it more clear that the whole <image>...</image> part
only specifies the plain restore script.

At least for me the whole wording "image" looks misleading because
it is not clear what exactly is meant with "image" in AutoYaST.
Therefore I use "backup" for this particular use case.

As far as I know you can provide any value you like for <image_name>
(and also for <image_location>) because this values does not matter
in the end (I don't know for what that values are actually used,
an AutoYaST expert should know this).

I think it may also work without <image_location> and <image_name>
but as far as I remember there had been issues (perhaps only
with some beta version or whatever) where one had to specify
<image_location> and <image_name> with dummy values to make it work.

What really matters is the <script_location> value so that
AutoYaST can download the script from there and run it.
The script must implement on its own all what is needed to do
the actual work (in particular the actual backup restore).


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild,
Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg)

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]