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.
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 totrue
for sync_hosts.