def vm_remove_keys(): ''' Remove local SSH keys for remote virual machines ''' for host_param in VM_BUILD_PARAMS.values(): host = host_param[u'host'] local(u'ssh-keygen -f ~/.ssh/known_hosts -R {}'.format(host))
def vm_update(): ''' Update the virtual machines ''' for host_param in VM_BUILD_PARAMS.values(): with lcd(host_param[u'vagrant_path']): local(u'vagrant box update')
def vm_stop(): ''' Stop virtual machines for build ''' for host_param in VM_BUILD_PARAMS.values(): with lcd(host_param[u'vagrant_path']): local(u'vagrant halt')
def vm_run(): ''' Run virtual machines for build ''' for host_param in VM_BUILD_PARAMS.values(): with lcd(host_param[u'vagrant_path']): local(u'vagrant up')
def vm_remove_keys(): ''' Remove local SSH keys for remote virtual machines ''' for host_param in VM_BUILD_PARAMS.values(): host = host_param[u'host'] local(u'ssh-keygen -f ~/.ssh/known_hosts -R {}'.format(host))