Let me just add my current (non-working) solution: I merge an XML to base-profile.xml which contains the NetworkManager as a <post-package> and ----- <networking> <!-- Use NETWORK MANAGER instead of ifup --> <managed config:type="boolean">true</managed> </networking> ----- Then, I am removing the lock on the NetworkManager package from "/etc/zypp/locks" with sed using a chroot-script. Unfortunately, I get a message box "Error: Network not running" during stage 2 during "Configuring network...". The problem seems to be that ifup is being exchanged for NetworkManager at that stage, but NM does not start because "dbus" is not running at this point in time. Actually I don't know why this is the case. So maybe this would work if I would remove the lock before the package installation in stage 1 and install NW as a regular <package> instead of <post-package> ? BTW, this is all OpenSuSE 11.4 On 11/30/2011 10:15 AM, Joschi Brauchle wrote:
Hello everyone,
I have the following problem: We have an autoyast base-profile.xml for all our Linux machines, which includes --------- <software> <remove-packages config:type="list"> <package>NetworkManager</package> </remove-packages> </software> --------- because all those machines use the traditional ifup method.
Now, I want to integrate a mobile workstation, which should use NetworkManager to manage LAN/WLAN/VPN connections. Thus, I would somehow have to remove the above entry by merging with another XML. Otherwise I cannot install NetworkManager as a regular <package>.
I guess that is not possible? I can only add/change entries by merging with another XMl, but not remove thing... correct?
(Of course I could remove that line from the base-profile.xml, but so far I'm looking for a better solution)
Is it possible to work on the final installation XML file (after merging is done) with a pre-script? How would I get the path to that file? So far, it looks like it is burried somewhere in /tmp/Yast-XXXXXX-YYYYY/ during installation...
Thanks for your help! Regards, Joschi Brauchle
-- Dipl.-Ing. Joschi Brauchle, M.Sc. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/