Skip to content

boot_command not sent properly #2933

Closed
Closed
@budric

Description

I am using packer version 0.8.6, VirtualBox version 5.0.10 on Windows. I'm trying to build an ubuntu box.

The boot command gets broken up and typed incorrectly (see screenshot attached)
clipboard01

My boot command is:

"boot_command": "<esc><esc><enter><wait> /install/vmlinuz noapic preseed/url=http://{{ .HTTPIP }}: {{ .HTTPPort }}/ubuntu-server-15.10.cfg debian-installer=en_US auto locale=en_US kbd-chooser/method=us hostname={{user `hostname`}} 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>"

I have also tried boot command split over multiple lines in a JSON array (array of strings is typically what tutorials give you). I have tried Packer 0.7.5 on Windows. I have tried Arch Linux and VirtualBox 5.0.8-3. I get exactly same error with breaks in the boot command in same places.

Metadata

Assignees

No one assigned

    Labels

    invalidOut of scope/alignment with the project, or issue is expected, intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions