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

Build fails when serving .erb kickstart files. #1038

Open
bobjohnbob opened this issue Mar 5, 2015 · 0 comments
Open

Build fails when serving .erb kickstart files. #1038

bobjohnbob opened this issue Mar 5, 2015 · 0 comments

Comments

@bobjohnbob
Copy link

I was having difficulty trying to get my kickstart file to load while building a box. It was an erb file, which the documentation says is supported, when I renamed it back to .cfg, it worked fine.

Digging around in the code, it looks like the filename is being mangled for erb files:

lib/veewee/provider/core/helper/web.rb:54:

urlname = urlname[0..-5] if File.extname(urlname)  == ".erb"

Comenting that out seems to allow the files to be served, but I haven't tested yet if the files are processed properly when served.

Edit: this is with what was the latest HEAD at the time:

commit 58e4c5b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant