Esempio n. 1
0
def vagrant(name=""):
    config = ssh_config(name)
    extra_args = _settings_dict(config)
    env.update(extra_args)
    env["user"] = "******"

    env["mysql_user"] = "******"
    env["mysql_password"] = os.environ.get("MYSQL_PASSWORD", "password")
def vagrant(name=''):
    config = ssh_config(name)
    extra_args = _settings_dict(config)
    env.update(extra_args)
    env['user'] = '******'

    env['mysql_user'] = '******'
    env['mysql_password'] = os.environ.get('MYSQL_PASSWORD', 'password')
Esempio n. 3
0
def _vagrant(name=''):
    config = ssh_config(name)

    settings = {
        'user': config['User'],
        'key_filename': config['IdentityFile'].strip('"'),
        'forward_agent': config.get('ForwardAgent', 'no') == 'yes',
        'disable_known_hosts': True,
    }

    env.update(settings)
def vagrant(name=''):
    config = ssh_config(name)
    extra_args = _settings_dict(config)
    env.update(extra_args)
    env['user'] = '******'