In python 2.7.9, a context option was added to httplib.HTTPSConnection and
changed its behavior to performs certificate and hostname checks by default.
While this is definitely an improvement, we were relying on the old behavior.
This change restores that (until we can switch to proper verification).
pykickstart isn't setting ks.handler.url.seen when setting url.url, but
it does set seen when using the style in this patch. Having seen set,
the URL line should be written to the kickstart file.
Patch written by Chris Lumens <clumens@redhat.com>
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
First off, it's in the version module, not in the parser. Second, it's
not necessary since makeVersion will take either a string or a constant
as an argument.
Patch by Chris Lumens <clumens@redhat.com>
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
60 is not enough to process a full release like Rawhide and last I
checked the code to use a different timeout than the default timeout
does not work. Therefore use a working default value.
Signed-off-by: Till Maas <opensource@till.name>
We originally added semi-generic parameter passing for OVA support and
then overloaded it for Vagrant support, before breaking that back out
as specific image types.
This change adds a fairly generic mechanism for parameter passthrough
to plugins and the base builder that does not require patching the
builder and CLI each time a new class of parameter is added to Factory.
The immediate reason for doing this is to expose the Docker plugin's
ability to set custom labels, environments and commands, but it is
likely to be useful for other things in the future.