From a1b48873248bc44ea78c789fe9a08657250db254 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 31 Aug 2013 16:07:55 -0700 Subject: [PATCH] website: add docs for -debug on Amazon builder --- website/source/docs/builders/amazon-ebs.html.markdown | 8 ++++++++ .../source/docs/builders/amazon-instance.html.markdown | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index 9c62390cc..da531a35e 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -144,6 +144,14 @@ the section above for more information on what environmental variables Packer will look for. +## Accessing the Instance to Debug + +If you need to access the instance to debug for some reason, run the builder +with the `-debug` flag. In debug mode, the Amazon builder will save the +private key in the current directory and will output the DNS or IP information +as well. You can use this information to access the instance as it is +running. + ## AMI Block Device Mappings Example Here is an example using the optional AMI block device mappings. This will add diff --git a/website/source/docs/builders/amazon-instance.html.markdown b/website/source/docs/builders/amazon-instance.html.markdown index 6dc4a2a8a..3f5efe827 100644 --- a/website/source/docs/builders/amazon-instance.html.markdown +++ b/website/source/docs/builders/amazon-instance.html.markdown @@ -189,6 +189,14 @@ the section above for more information on what environmental variables Packer will look for. +## Accessing the Instance to Debug + +If you need to access the instance to debug for some reason, run the builder +with the `-debug` flag. In debug mode, the Amazon builder will save the +private key in the current directory and will output the DNS or IP information +as well. You can use this information to access the instance as it is +running. + ## Custom Bundle Commands A lot of the process required for creating an instance-store backed AMI