Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

CentOS Image sudo tty error with Rsync #59

Closed
VMTrooper opened this issue Dec 28, 2013 · 2 comments
Closed

CentOS Image sudo tty error with Rsync #59

VMTrooper opened this issue Dec 28, 2013 · 2 comments

Comments

@VMTrooper
Copy link
Contributor

When provisioning a CentOS image, the following error appears at the Rsync step:

[node02] Rsyncing folder: /Users/trerober/Development/puppet-course/ => /vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p '/vagrant'

Stdout from the command:

Stderr from the command:

sudo: sorry, you must have a tty to run sudo

The /vagrant folder is never created. This issue doesn't happen with Ubuntu images.

@VMTrooper
Copy link
Contributor Author

it pays to Google. Found Mitchell's responses here:
hashicorp/vagrant#1482
hashicorp/vagrant#1601

"config.ssh.pty = true" works like a charm

@elight
Copy link

elight commented Jan 3, 2014

Good to know!

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

No branches or pull requests

2 participants