From accc2c27f53e48e968db5005573d6deb5156ea1e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 26 Jun 2013 17:08:53 -0700 Subject: [PATCH] website: Clarify the HTTPIP/Port in boot commands [GH-32] --- website/source/docs/builders/virtualbox.html.markdown | 11 +++++++++++ website/source/docs/builders/vmware.html.markdown | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/website/source/docs/builders/virtualbox.html.markdown b/website/source/docs/builders/virtualbox.html.markdown index 19671fb94..74d5c5f0e 100644 --- a/website/source/docs/builders/virtualbox.html.markdown +++ b/website/source/docs/builders/virtualbox.html.markdown @@ -164,9 +164,20 @@ will be replaced by the proper key: * `` - Simulates pressing the escape key. +* `` - Simulates pressing the tab key. + * `` - Adds a one second pause before sending any additional keys. This is useful if you have to generally wait for the UI to update before typing more. +In addition to the special keys, each command to type is treated as a +[configuration template](/docs/templates/configuration-templates.html). +The available variables are: + +* `HTTPIP` and `HTTPPort` - The IP and port, respectively of an HTTP server + that is started serving the directory specified by the `http_directory` + configuration parameter. If `http_directory` isn't specified, these will + be blank! + Example boot command. This is actually a working boot command used to start an Ubuntu 12.04 installer: diff --git a/website/source/docs/builders/vmware.html.markdown b/website/source/docs/builders/vmware.html.markdown index f01f91861..7d18347db 100644 --- a/website/source/docs/builders/vmware.html.markdown +++ b/website/source/docs/builders/vmware.html.markdown @@ -153,9 +153,20 @@ will be replaced by the proper key: * `` - Simulates pressing the escape key. +* `` - Simulates pressing the tab key. + * `` - Adds a one second pause before sending any additional keys. This is useful if you have to generally wait for the UI to update before typing more. +In addition to the special keys, each command to type is treated as a +[configuration template](/docs/templates/configuration-templates.html). +The available variables are: + +* `HTTPIP` and `HTTPPort` - The IP and port, respectively of an HTTP server + that is started serving the directory specified by the `http_directory` + configuration parameter. If `http_directory` isn't specified, these will + be blank! + Example boot command. This is actually a working boot command used to start an Ubuntu 12.04 installer: