Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FTP for ISO URLs #478

Closed
juliandunn opened this issue Sep 30, 2013 · 9 comments
Closed

Support FTP for ISO URLs #478

juliandunn opened this issue Sep 30, 2013 · 9 comments
Labels
enhancement stage/waiting-on-upstream This issue is waiting on an upstream change

Comments

@juliandunn
Copy link

Some distributions (FreeBSD) only provide FTP URLs to their ISOs and Packer doesn't seem to support this:

$ packer validate freebsd-9.1-amd64.json
Template validation failed. Errors are shown below.

Errors validating build 'virtualbox'. 1 error(s) occurred:

* Failed to parse iso_url 1: Unsupported URL scheme: ftp

Errors validating build 'vmware'. 1 error(s) occurred:

* Failed to parse iso_url 1: Unsupported URL scheme: ftp
@mitchellh
Copy link
Contributor

I'd love to do this, but there is no native Go FTP library at the moment which is kind of a blocker.

@masteinhauser
Copy link
Contributor

It looks to me like there may be support for this now in the goftp library? Quickly reviewing that code it seems to be implemented solely in Golang.

@skoblenick
Copy link

+1 for this feature

@arizvisa
Copy link
Contributor

arizvisa commented Apr 5, 2016

PR #2906 uses jlaffaye's ftp library which is pretty much #1 at http://golanglibs.com. However, if the policy is to re-implement all the protocols that golang doesn't have a stdlib for or that packer doesn't already include, I suppose I can re-invent ftp for that PR to get packer to support ftp urls and resuming.

@WillSquire
Copy link

+1. A stumbling block at the first hurdle for me :/

@rrzaripov
Copy link
Contributor

+1 good feature

@vtolstov
Copy link
Contributor

+1, but i'm prefer http it faster then ftp

@chrisandchris
Copy link

+1

arizvisa added a commit to arizvisa/hashicorp-packer that referenced this issue Jan 7, 2018
arizvisa added a commit to arizvisa/hashicorp-packer that referenced this issue Feb 5, 2018
arizvisa added a commit to arizvisa/hashicorp-packer that referenced this issue Feb 14, 2018
arizvisa added a commit to arizvisa/hashicorp-packer that referenced this issue Apr 27, 2018
@nywilken
Copy link
Contributor

Hi there this is a pretty old thread so pardon the noise. But this particular feature request is out of scope for Packer since downloading of ISOs is really the job of hashicorp/go-getter.

There is an accompanying issue on the go-getter project hashicorp/go-getter#220 where this request is being tracked.

I'm going to close this issue on Packer and keep an eye on the go-getter discussion.

@nywilken nywilken added the stage/waiting-on-upstream This issue is waiting on an upstream change label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement stage/waiting-on-upstream This issue is waiting on an upstream change
Projects
None yet
Development

No branches or pull requests

10 participants