Dienstag, 2. September 2008

remote files during autoinstallation

With AutoYaST you could always store complete files in the XML profile to save them somewhere into the installed system later. With openSUSE 11.1 and SLES11 you can specify the location of those file to a remote source like an HTTP server for example, so there is no need to store the files directly in the XML profile anymore.

<files config:type="list">
<file>
<file_path>/bla</file_path>
<file_location>http://10.10.0.162/file_test.txt</file_location>
</file>
</files>

The section is evaluated after the network configuration is done so start_immediately should be set to true for the needed network interface, which is the default anyway if it's not specified. Protocols are the same like for the AutoYaST profile (http(s), ftp, nfs, tftp, ...)
Here you can read more about the files section in AutoYaST.

2 Kommentare:

Conrad hat gesagt…

How do I specify that the file_location is on the floppy drive where I have autoinst.xml?

Conrad

Uwe Gansert hat gesagt…

with
<file_location>floppy:///file.txt</file_location>
you can specify the floppy