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

Kindly run the needful "packer fix" #43

Closed
ghost opened this issue Aug 27, 2020 · 1 comment
Closed

Kindly run the needful "packer fix" #43

ghost opened this issue Aug 27, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 27, 2020

Expected: your templates work.
Actual: your templates are out-of-date but it is easy to fix.
Reproducing:

$ packer build -var-file=ubuntu1804.json ubuntu.json
Error: Failed to prepare build: "qemu"

1 error occurred:
	* Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
$ packer fix -var-file=ubuntu1804.json ubuntu.json > foo.json
$ mv foo.json ubuntu.json
$ packer build -var-file=ubuntu1804.json ubuntu.json
... skip ahead ...
==> qemu: Gracefully halting virtual machine...
==> qemu: Converting hard drive...
Build 'qemu' finished.

==> Builds finished. The artifacts of successful builds are:
--> qemu: VM files in directory: output-ubuntu1804
@jakobadam
Copy link
Owner

You're welcome to submit a PR with a fix. I don't have much time.

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