[yast-commit] r67082 - /branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp
Author: jreidinger Date: Mon Jan 2 18:13:02 2012 New Revision: 67082 URL: http://svn.opensuse.org/viewcvs/yast?rev=67082&view=rev Log: fix previous commit and also do not inherid ETHTOOL_OPTIONS as it is useful only for real hardware devices (bnc#735109) Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp?rev=67082&r1=67081&r2=67082&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Mon Jan 2 18:13:02 2012 @@ -938,6 +938,8 @@ NetworkInterfaces::Current["STARTMODE"]="onboot"; // remove description - will be replaced by new (real) one NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "NAME"); + // remove ETHTOOLS_OPTIONS as it is useful only for real hardware + NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "ETHTOOLS_OPTIONS"); if( NetworkInterfaces::Commit() ){ NetworkInterfaces::Add(); NetworkInterfaces::Edit(ifcfg); @@ -948,7 +950,7 @@ if (v != nil) { NetworkInterfaces::DeleteAlias (NetworkInterfaces::Name, a); } }); //take out PREFIXLEN from old configuration (BNC#735109) - old_config["PREFIXLEN"="" + old_config["PREFIXLEN"]=""; old_config["_aliases"]=$[]; y2milestone("Old Config with apllied changes %1\n%2", ifcfg, old_config); NetworkInterfaces::Current = old_config; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org