Exemple #1
0
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))
Exemple #2
0
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')
Exemple #3
0
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')
Exemple #4
0
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')
Exemple #5
0
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))
Exemple #6
0
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')
Exemple #7
0
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')
Exemple #8
0
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')