This documentation applies to the latest version of hitchvagrant.
If it is not already installed, install the hitch vagrant package:
$ hitch install hitchvagrant
See also: Generic Service API
To use, define the service after initializing the Service Bundle:
import hitchvagrant # Service definition in engine's setUp: self.services['MyVM'] = hitchvagrant.VagrantService( directory="vagrantubuntu/", # Directory containing Vagrantfile (optional) )
Once it is running, you can run ssh commands against the machine:
In : self.services['MyVM'].ssh("pwd").run() /vagrant