From Achim.Klausmann@T-Online.de Sat Nov 29 08:56:57 2014 From: Achim Klausmann To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Question about network Date: Sat, 29 Nov 2014 09:56:33 +0100 Message-ID: <54798A41.1060601@T-Online.de> In-Reply-To: <547841A9.8030401@novell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8004078083034066717==" --===============8004078083034066717== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Am 28.11.2014 um 10:34 schrieb Simon Crute: > You could probably use a pre script to identify the mac address and plug > it into the xml file. How would this look like? Best regards Achim Klausmann -- -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============8004078083034066717==-- From fehr@suse.de Sat Nov 29 10:32:55 2014 From: Thomas Fehr To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Question about network Date: Sat, 29 Nov 2014 11:32:55 +0100 Message-ID: <20141129103255.GE23567@suse.de> In-Reply-To: <54798A41.1060601@T-Online.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3644295986815232637==" --===============3644295986815232637== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Sat, Nov 29, Achim Klausmann wrote: > Am 28.11.2014 um 10:34 schrieb Simon Crute: >> You could probably use a pre script to identify the mac address and plug >> it into the xml file. > How would this look like? Pre-Scripts can be used to modify the autoinst.xml file. If autoyast detects modified xml file after secution of pre script, it read the modified file and uses it. So you could have a template as mac address in your xml file and let pre-script replace template by real mac address of system They are explained in chapter 4.16.1 of http://doc.opensuse.org/projects/autoyast Here is an example of a pre script that replaces /dev/sdx in partitioning section of autoinstall.xml by a disk of appropriate size in the system. Similar stuff could be done to modify mac address. ------------------------------------------------------- ------------------------------------------------------- Tschuess, Thomas Fehr -- Thomas Fehr, SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Tel: +49-911-74053-0, Fax: +49-911-74053-482, Email: fehr(a)suse.de GPG public key available. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============3644295986815232637==--