Hi all!
This patch is for adding url consistency with the changes we did
for work-arrounding the libvirt problems.
It "fixes" the url used by validateks action for use the slashed
one. Doesn't add or remove features :)
Regards
Pablo
PD: Congratulations to all of you in your collaboration for making Cobbler
1.0 real :)
--
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
--
Postulado de Boling sobre la Ley de Murphy:
Si se encuentra bien, no se preocupe. Se le pasará
diff --git a/cobbler/action_validate.py b/cobbler/action_validate.py
index 44f3a9a..e6b084c 100644
--- a/cobbler/action_validate.py
+++ b/cobbler/action_validate.py
@@ -68,9 +68,9 @@ class Validate:
if not ks.startswith("/"):
url = self.kickstart
elif is_profile:
- url = "http://%s/cblr/svc/?op=ks;profile=%s" % (server,obj.name)
+ url = "http://%s/cblr/svc/op=ks/profile/%s" % (server,obj.name)
else:
- url = "http://%s/cblr/svc/?op=ks;system=%s" % (server,obj.name)
+ url = "http://%s/cblr/svc/op=ks/system/%s" % (server,obj.name)
print "----------------------------"
print "checking url: %s" % url
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools