[Bug 752261] New: RecoveryImage: use <keep_install_network> for skip-second-stage
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c0 Summary: RecoveryImage: use <keep_install_network> for skip-second-stage Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: All OS/Version: openSUSE 12.2 Status: ASSIGNED Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: jsmeix@suse.com ReportedBy: jsmeix@suse.com QAContact: qa@suse.de Found By: Development Blocker: --- In http://www.suse.de/~ug/autoyast_workflow.pdf there is ------------------------------------------------------------------- <keep_install_network> is true -> copy network config to system ------------------------------------------------------------------- Therefore it may work when RecoveryImage set <keep_install_network> in autoinst.xml to avoid that the network configuration of the install system are written during "first stage" to the installed system. See "Experimental 'skip-second-stage' feature" in /usr/share/doc/packages/rear-SUSE/README and https://bugzilla.novell.com/show_bug.cgi?id=729509#c1 and https://fate.novell.com/313149 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO CC| |ug@suse.com InfoProvider| |ug@suse.com --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2012-03-14 15:51:37 UTC --- http://users.suse.com/~ug/autoyast_en.pdf reads -------------------------------------------------------------------------- In the networking section, set this option to "true" (default is "false", available since openSUSE 11.2 but not in SLES11): <keep_install_network config:type="boolean">true</keep_install_network> YaST will keep network settings created during installation (via Linuxrc) -------------------------------------------------------------------------- but according to http://users.suse.com/~ug/autoyast_changes_SLES11SP2.html ---------------------------------------------------------------------- fixed the merging of install-network and XML configuration if <keep_install_network ..:> is set to true (bnc#712864) ---------------------------------------------------------------------- it seems keep_install_network is supported in SLE11-SP2 which would be good because RecoveryImage (i.e. rear-SUSE) exists since SLE11-SP2-HAE so that I could use it in RecoveryImage - provided it works as I think it does. Uwe, is keep_install_network supported in SLE11-SP2? Is my understanding correct that with <keep_install_network config:type="boolean">false</keep_install_network> the network configuration of the install system is not written during "first stage" to the installed system? I wonder when the default is "false", wouldn't it mean a change in the default behaviour in SLE11-SP2 compared to SLE11-SP1 where by default the the network configuration of the install system was written during "first stage" to the installed system (at least according to my experience with SLE11-SP1)? Or do I misunderstand something here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c2 Uwe Gansert <ug@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ug@suse.com | --- Comment #2 from Uwe Gansert <ug@suse.com> 2012-03-14 16:27:57 UTC --- SLES11 SP1 had that keep_install_network already. Only SLES11 GA did not have it - the docu is a bit misleading. If the boolean is true, the network config that was used during installation is kept for the installed system. If the boolean is false, autoyast will delete the config that was created during installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ug@suse.com --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2012-03-15 14:26:08 UTC --- Uwe, where does AutoYaST delete the network config if keep_install_network is false? Does AutoYaST in this case delete something in files in the installed system? For my use case the crucial question is: Would <keep_install_network config:type="boolean">false</keep_install_network> make sure that AutoYaST does not change any files regarding the network config in the installed system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c4 Uwe Gansert <ug@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ug@suse.com | --- Comment #4 from Uwe Gansert <ug@suse.com> 2012-03-16 13:09:59 UTC --- autoyast will delete: /etc/sysconfig/network/ifcfg-* (except for ifcfg-lo) and that happens in the 2nd stage, when yast starts. It happens if you have no <networking> section at all or you have a networking section with no keep_install_network=true (false or missing boolean) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=752261 https://bugzilla.novell.com/show_bug.cgi?id=752261#c5 --- Comment #5 from Johannes Meixner <jsmeix@suse.com> 2012-03-16 13:36:17 UTC --- Many thanks for the info - it looks promising! In my use case I skip the second stage (see bnc#729509) so that the following minimal <networking> section <networking> <keep_install_network config:type="boolean">false</keep_install_network> </networking> should make sure that during the first stage AutoYaST does not change any files regarding the network config in the installed system. In my use case I only need to care about the first stage because I skip the second stage. In the end this results that AutoYaST does not change the network config which is exactly what I want because in my use case the files regarding the network config are ready-made installed via restore of a backup.tar.gz. I wonder what had happened at the time when I wrote https://bugzilla.novell.com/show_bug.cgi?id=729509#c1 which looks contradicting to what you wrote in comment #4 but I will try it out... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com