From 1347f0761837e8cea0d09a386dac311462ee5f57 Mon Sep 17 00:00:00 2001 From: DanHam Date: Tue, 10 Jul 2018 16:59:26 +0100 Subject: [PATCH] Update 'packer fix' command usage output to include all fixers --- command/fix.go | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/command/fix.go b/command/fix.go index 12d351e92..d04cdfd0b 100644 --- a/command/fix.go +++ b/command/fix.go @@ -122,14 +122,37 @@ Usage: packer fix [options] TEMPLATE Fixes that are run: - iso-md5 Replaces "iso_md5" in builders with newer "iso_checksum" - createtime Replaces ".CreateTime" in builder configs with "{{timestamp}}" - virtualbox-gaattach Updates VirtualBox builders using "guest_additions_attach" - to use "guest_additions_mode" - pp-vagrant-override Replaces old-style provider overrides for the Vagrant - post-processor to new-style as of Packer 0.5.0. - virtualbox-rename Updates "virtualbox" builders to "virtualbox-iso" - vmware-rename Updates "vmware" builders to "vmware-iso" + iso-md5 Replaces "iso_md5" in builders with newer + "iso_checksum" + createtime Replaces ".CreateTime" in builder configs with + "{{timestamp}}" + virtualbox-gaattach Updates VirtualBox builders using + "guest_additions_attach" to use + "guest_additions_mode" + pp-vagrant-override Replaces old-style provider overrides for the + Vagrant post-processor to new-style as of Packer + 0.5.0. + virtualbox-rename Updates "virtualbox" builders to "virtualbox-iso" + vmware-rename Updates "vmware" builders to "vmware-iso" + parallels-headless Removes unused "headless" setting from Parallels + builders + parallels-deprecations Removes deprecated "parallels_tools_host_path" from + Parallels builders + sshkeypath Updates builders using "ssh_key_path" to use + "ssh_private_key_file" + sshdisableagent Updates builders using "ssh_disable_agent" to use + "ssh_disable_agent_forwarding" + manifest-filename Updates "manifest" post-processor so any "filename" + field is renamed to "output" + amazon-shutdown_behavior Changes "shutdown_behaviour" to "shutdown_behavior" + in Amazon builders + amazon-enhanced-networking Replaces "enhanced_networking" in builders with + "ena_support" + amazon-private-ip Replaces "ssh_private_ip": true in amazon builders + with "ssh_interface": "private_ip" + docker-email Removes "login_email" from the Docker builder + powershell-escapes Removes PowerShell escapes from user env vars and + elevated username and password strings Options: