Michael DeHaan wrote:
Hmm, this worked fine for me but what I imagine is happening is that
somewhere in the configuration files, some of the parameters are being
stored as integers instead of strings. Not being able to reproduce this,
but just looking at the code, this looks like a fix:
diff -r fbdb0203b3ee41519942c705ec800333b70c3365 cobbler/action_sync.py
--- a/cobbler/action_sync.py Wed Feb 21 10:30:33 2007 -0500
+++ b/cobbler/action_sync.py Thu Feb 22 10:44:21 2007 -0500
@@ -874,8 +874,8 @@ class BootSync:
for key in hash:
value = hash[key]
if value is None:
- buffer = buffer + key + " "
+ buffer = buffer + str(key) + " "
else:
- buffer = buffer + key + "=" + value + " "
+ buffer = buffer + str(key) + "=" + str(value) + " "
return buffer
Just to add, i experienced a similar problem on 0.4.2 and this patch
fixed it for me as well.
- dhawal