oscar-stack / vagrant-hosts

Manage static DNS on vagrant guests
Other
317 stars 26 forks source link

sync_hosts interfears with POSIX vms using requiretty #59

Closed Sharpie closed 8 years ago

Sharpie commented 8 years ago

Many VM templates have requiretty enabled for all accounts by default. This causes some difficulty with sync_hosts which runs across multiple machines during both creation and destruction. Particularly, this can make it difficult to destroy a badly configured VM as requiretty keeps failing the cleanup operation.

The command being run is very simple, so we should just make sure ssh.pty is always set to true for sync_hosts.