diff --git a/lorax-composer.spec b/lorax-composer.spec index 45d6abfb..8f827ee3 100644 --- a/lorax-composer.spec +++ b/lorax-composer.spec @@ -33,6 +33,7 @@ Requires: python-gevent Requires: anaconda-tui Requires: qemu-img Requires: tar +Requires: pykickstart >= 1.99.66.20 %{?systemd_requires} BuildRequires: systemd diff --git a/src/pylorax/api/compose.py b/src/pylorax/api/compose.py index ba060b3d..3a81511a 100644 --- a/src/pylorax/api/compose.py +++ b/src/pylorax/api/compose.py @@ -121,6 +121,13 @@ def repo_to_ks(r, url="url"): if not r.sslverify: cmd += '--noverifyssl' + if r.sslcacert: + cmd += ' --sslcacert="%s"' % r.sslcacert + if r.sslclientcert: + cmd += ' --sslclientcert="%s"' % r.sslclientcert + if r.sslclientkey: + cmd += ' --sslclientkey="%s"' % r.sslclientkey + return cmd