[PATCH pykickstart/master] fix TypeError in network.py with ipv6 static addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Format string for --ipv6 was missing '%s'.

Interestingly this bug has been present for nearly 5 years, which tells
me that nobody actually uses static ipv6 addresses.
---
 pykickstart/commands/network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pykickstart/commands/network.py b/pykickstart/commands/network.py
index 9b67f92..b313703 100644
--- a/pykickstart/commands/network.py
+++ b/pykickstart/commands/network.py
@@ -136,7 +136,7 @@ class F8_NetworkData(FC6_NetworkData):
         retval = FC6_NetworkData._getArgsAsStr(self)
 
         if self.ipv6 != "":
-            retval += " --ipv6" % self.ipv6
+            retval += " --ipv6=%s" % self.ipv6
 
         return retval
 
-- 
1.7.7.6

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux