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

"packer fix" in 0.5.0 replaces '&&' with \u0026\u0026 #784

Closed
juliandunn opened this issue Jan 3, 2014 · 1 comment
Closed

"packer fix" in 0.5.0 replaces '&&' with \u0026\u0026 #784

juliandunn opened this issue Jan 3, 2014 · 1 comment

Comments

@juliandunn
Copy link

In our bento project, we have some templates with '&&' in them e.g.

https://github.com/opscode/bento/blob/0f6469d15ea614aeb3c9d0725a0122ecf46580ad/packer/freebsd-9.2-amd64.json#L17

When running "packer fix", these get converted into \u0026\u0026.

@mitchellh
Copy link
Contributor

This is still valid JSON, I believe. Go does some weird things when converting to/from JSON. At some point I want to try to help improve the output to be a bit more human-readable but for now it should work. Does it not?

One thing I recommend is just doing a packer fix template.json | packer build - in the meantime to avoid human-readness oddities.

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants