Skip to content

I get this error when building centos: sudo: sorry, you must have a tty to run sudo #5

Description

@michaelosmith

The error:
sudo: sorry, you must have a tty to run sudo
comes once the OS has been installed and the scripts are about to run.
The fix was to add:
"ssh_pty": true
to the json file as per hashicorp/packer#2420

Environment

Mac OSX 10.10
VMWare Fusion 8.0.0
Packer 0.8.6

Any chance of getting this looked at

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions