[opensuse-autoinstall] Fwd: network configuration in post scripts?
Hello,
Moving the conversation here, as it's probably more appropriate than
in general help.
---------- Forwarded message ----------
From: Razvan Cosma
On 08.02.2012 11:25, Razvan Cosma wrote:
In version 11 (both opensuse and sles) I was configuring various system parameters in the<chroot-scripts> 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@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
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 script. That's why I asked to use autoyast-ask instead. -- 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 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (3)
-
Mike Marion
-
Razvan Cosma
-
Uwe Gansert