FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-13-2010, 09:33 AM
Steffen Maier
 
Default Do not write HWADDR to ifcfg file on s390x for OSA Layer 2 (#546005)

Ack, thanks.

On 01/12/2010 06:23 PM, David Cantrell wrote:
> On s390x, if an interface is in OSA layer 2 mode, do not write the
> HWADDR setting to the ifcfg file.
> ---
> network.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/network.py b/network.py
> index 24538e3..a3f6057 100644
> --- a/network.py
> +++ b/network.py
> @@ -244,6 +244,9 @@ class NetworkDevice(SimpleConfigFile):
> keys.remove("DESC")
> if "KEY" in keys:
> keys.remove("KEY")
> + if iutil.isS390() and ("OPTIONS" in keys) and ("HWADDR" in keys) and
> + (self.info["OPTIONS"].find("layer2=1") != -1):
> + keys.remove("HWADDR")
>
> for key in keys:
> if (key == 'NAME') or

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org