[PATCH rhel7-branch] network: fix a typo making creating virtual devices in %pre fail (#1075195)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Nov 11 13:40:28 UTC 2014


On Tue, Nov 11, 2014 at 01:36:30PM +0100, Radek Vykydal wrote:
> Resolves: rhbz#1075195

Ack.

> ---
>  pyanaconda/network.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/network.py b/pyanaconda/network.py
> index e9b6ff1..05583b9 100644
> --- a/pyanaconda/network.py
> +++ b/pyanaconda/network.py
> @@ -489,7 +489,7 @@ def add_connection_for_ksdata(networkdata, devname):
>          values.append(['vlan', 'id', int(networkdata.vlanid), 'u'])
>          dev_spec = None
>      # type "bridge"
> -    if networkdata.bridgeslaves:
> +    elif networkdata.bridgeslaves:
>          # bridge connection is autoactivated
>          values.append(['connection', 'type', 'bridge', 's'])
>          values.append(['connection', 'id', devname, 's'])
> -- 
> 1.9.3
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list