From rg@cosma.name Wed Feb 8 10:25:37 2012 From: Razvan Cosma To: autoinstall@lists.opensuse.org Subject: [opensuse-autoinstall] Fwd: network configuration in post scripts? Date: Wed, 08 Feb 2012 11:25:30 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7732528038323346310==" --===============7732528038323346310== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, Moving the conversation here, as it's probably more appropriate than in general help. ---------- Forwarded message ---------- From: Razvan Cosma Date: Wed, Feb 8, 2012 at 11:12 AM Subject: network configuration in post scripts? To: opensuse(a)opensuse.org =C2=A0Hello everyone, In version 11 (both opensuse and sles) I was configuring various system parameters in the section, which had the filesystem mounted and network (dhcp) up. In 12 though, my changes (ifcfg, hostname, routes, udev) are overwritten by the last autoyast step after reboot. I've also tried post-scripts and init-scripts, same problem. A working setup in 11 is: dhcp4eth0auto this ensures network is up on the first interface, the post script is supposed to configure the others dialogwget This ensured that udev always assigns a specific IP to the correct interface, data is in some SQL. The files are zeroed in 12, though, any hints on what has changed? Thank you, Razvan --=20 To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============7732528038323346310==-- From ug@suse.de Thu Feb 9 09:38:03 2012 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Fwd: network configuration in post scripts? Date: Thu, 09 Feb 2012 10:38:02 +0100 Message-ID: <4F3393FA.8090909@suse.de> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7298115933175178335==" --===============7298115933175178335== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On 08.02.2012 11:25, Razvan Cosma wrote: > In version 11 (both opensuse and sles) I was configuring various > system parameters in the section, which had the > filesystem mounted and network (dhcp) up. In 12 though, my changes > (ifcfg, hostname, routes, udev) are overwritten by the last autoyast > step after reboot. I've also tried post-scripts and init-scripts, same > problem. A working setup in 11 is: is there a reason why you don't use ask-dialogs? I would not recommend to do such a mixture of autoyast XMl config and self created shell scripts. It's always possible that yast will overwrite your settings then. -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net listening to: "Remember" by mind.in.a.box -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============7298115933175178335==-- From mmarion@qualcomm.com Fri Feb 10 01:25:02 2012 From: Mike Marion To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Fwd: network configuration in post scripts? Date: Thu, 09 Feb 2012 17:24:54 -0800 Message-ID: <20120210012453.GA27743@sunapee.qualcomm.com> In-Reply-To: <4F3393FA.8090909@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5725849707168937602==" --===============5725849707168937602== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, Feb 09, 2012 at 10:38:02AM +0100, Uwe Gansert wrote: > is there a reason why you don't use ask-dialogs? > I would not recommend to do such a mixture of autoyast XMl config > and self created shell scripts. > It's always possible that yast will overwrite your settings then. I use a pre-script to output the xml for the networking (and dns and other info) automatically vs using ask-dialogs because we often image dozens (if not more) machines automatically and having to interact with them would be horrible. Don't know if the original poster is doing so many automated installs too. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Yo' momma's so fat she makes emacs look like pico! -- Another stolen from /. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============5725849707168937602==-- From ug@suse.de Fri Feb 10 09:09:29 2012 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Fwd: network configuration in post scripts? Date: Fri, 10 Feb 2012 10:09:27 +0100 Message-ID: <4F34DEC7.8050906@suse.de> In-Reply-To: <20120210012453.GA27743@sunapee.qualcomm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4389686260740645535==" --===============4389686260740645535== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 10.02.2012 02:24, Mike Marion wrote: >> is there a reason why you don't use ask-dialogs? > > I use a pre-script to output the xml for the networking (and dns and other > info) automatically vs using ask-dialogs because we often image dozens (if = not > more) machines automatically and having to interact with them would be > horrible. > > Don't know if the original poster is doing so many automated installs too. sure, that's a reason but there was raised a dialog in the chroot=20 script. That's why I asked to use autoyast-ask instead. --=20 ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG N=C3=BCrnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net --=20 To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============4389686260740645535==--