Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michaelosmith opened this issue Oct 2, 2015 · 0 comments

Comments

@michaelosmith
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant