def vagrant_run_with_retry(vagrant_vm, command): """ vagrant run and retry on errorx """ local('vagrant ssh %s -- %s' % (vagrant_vm, command))