Back to Packer

HTTPConfig

website/content/partials/packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx

1.15.3538 B
Original Source
<!-- Code generated from the comments of the HTTPConfig struct in multistep/commonsteps/http_config.go; DO NOT EDIT MANUALLY -->

Packer will create an http server serving http_directory when it is set, a random free port will be selected and the architecture of the directory referenced will be available in your builder.

Example usage from a builder:

wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg

<!-- End of code generated from the comments of the HTTPConfig struct in multistep/commonsteps/http_config.go; -->