From d96b426a6d74ada2d496f5062b94bf5ea65497ce Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 17 Aug 2015 14:56:26 -0700 Subject: [PATCH] Clarify use-case and example for floppy preseed --- .../docs/builders/vmware-iso.html.markdown | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/website/source/docs/builders/vmware-iso.html.markdown b/website/source/docs/builders/vmware-iso.html.markdown index b9580ab1c..39678fd5f 100644 --- a/website/source/docs/builders/vmware-iso.html.markdown +++ b/website/source/docs/builders/vmware-iso.html.markdown @@ -394,18 +394,22 @@ modify as well: - `remote_password` - The SSH password for access to the remote machine. -### Using a floppy for linux kickstart file or preseed +### Using a Floppy for Linux kickstart file or preseed -Once the vm has been started, and the boot process is in place, sometimes a response file is -required. For ESXi enviroment, sometimes is easier use a floopy disk: +Depending on your network configuration, it may be difficult to use packer's +built-in HTTP server with ESXi. Instead, you can provide a kickstart or preseed +file by attaching a floppy disk. An example below, based on RHEL: -ie RedHat: - -``` {.text} - "floppy_files": [ - "folder/ks.cfg" - ], - .. - "boot_command": " text ks=floppy " +``` {.javascript} +{ + "builders": [ + { + "type":"vmware-iso", + "floppy_files": [ + "folder/ks.cfg" + ], + "boot_command": " text ks=floppy " + } + ] +} ``` -