add http_directory docs to builders where it wasnt documented (#9943)

* add http_directory docs to builders where it wasnt documented

* Fix front matter for Proxmox builder

Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
This commit is contained in:
Megan Marsh 2020-09-15 12:50:33 -07:00 committed by GitHub
parent c8d99dbb68
commit aeb70e6726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 1 deletions

View File

@ -213,6 +213,14 @@ The available variables are:
@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx'
## Http directory configuration
@include 'common/HTTPConfig.mdx'
### Optional:
@include 'common/HTTPConfig-not-required.mdx'
## Basic Example
Here is a basic example.

View File

@ -163,6 +163,14 @@ The example shown below is a working boot command used to start an Ubuntu
For more examples of various boot commands, see the sample projects from our
[community templates page](/community-tools#templates).
## Http directory configuration
@include 'common/HTTPConfig.mdx'
### Optional:
@include 'common/HTTPConfig-not-required.mdx'
## Integration Services
Packer will automatically attach the integration services ISO as a DVD drive

View File

@ -1,4 +1,4 @@
---
description: |
The proxmox Packer builder is able to create new images for use with
Proxmox VE. The builder takes an ISO source, runs any provisioning
@ -251,6 +251,50 @@ builder.
- `vm_interface` - (string) - Name of the network interface that Packer gets
the VMs IP from. Defaults to the first non loopback interface.
## Boot Command
The `boot_command` configuration is very important: it specifies the keys to
type when the virtual machine is first booted in order to start the OS
installer. This command is typed after `boot_wait`, which gives the virtual
machine some time to actually load the ISO.
As documented above, the `boot_command` is an array of strings. The strings
are all typed in sequence. It is an array only to improve readability within
the template.
The boot command is "typed" character for character over the virtual keyboard
to the machine, simulating a human actually typing the keyboard.
@include 'builders/boot-command.mdx'
The example shown below is a working boot command used to start an Ubuntu
12.04 installer:
```json
[
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
"hostname={{ .Name }} ",
"fb=false debconf/frontend=noninteractive ",
"keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA ",
"keyboard-configuration/variant=USA console-setup/ask_detect=false ",
"initrd=/install/initrd.gz -- <enter>"
]
```
For more examples of various boot commands, see the sample projects from our
[community templates page](/community-tools#templates).
## Http directory configuration
@include 'common/HTTPConfig.mdx'
### Optional:
@include 'common/HTTPConfig-not-required.mdx'
## Example: Fedora with kickstart
Here is a basic example creating a Fedora 29 server image with a Kickstart