Enhancement need Packer url with username, password and ceritifcate.

21 views
Skip to first unread message

Subbu M

unread,
Sep 23, 2016, 2:09:46 PM9/23/16
to Packer
Hi,

Based on the document I do not see many arguments required to download iso.

We have a secured repository which needs username, password and certificate.

I don't see the options other than url, checksum.


Its a required enhancement for packer to have these options for url download with secure access.

Nice to have other curl/wget options.


regards
Sabu

Matthew Hooker

unread,
Sep 23, 2016, 2:40:30 PM9/23/16
to Packer
Hi Sabu,

Packer uses an ordinary http client to download the ISO, so to authenticate with a username and password, format the url like https://username:pass...@example.com

As for the certificate, I think you'll want to follow os-specific steps to install it. For example, here's how you would do it on OSX 10.9 https://www.digicert.com/ssl-support/p12-import-export-mac-mavericks-server.htm

Thanks,
--Matt
Reply all
Reply to author
Forward
0 new messages