|
|
@ -83,14 +83,14 @@ to your network topology**.
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
ssh_account = router.sudo(
|
|
|
|
ssh_account = router.sudo(
|
|
|
|
|
|
|
|
via=bastion_host,
|
|
|
|
username='user_with_magic_ssh_key',
|
|
|
|
username='user_with_magic_ssh_key',
|
|
|
|
password='sudo password',
|
|
|
|
password='sudo password',
|
|
|
|
via=bastion_host,
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
internal_box = router.ssh(
|
|
|
|
internal_box = router.ssh(
|
|
|
|
hostname='billing0.internal.mycorp.com'
|
|
|
|
|
|
|
|
via=ssh_account,
|
|
|
|
via=ssh_account,
|
|
|
|
|
|
|
|
hostname='billing0.internal.mycorp.com'
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
internal_box.call(os.system, './run-nightly-billing.py')
|
|
|
|
internal_box.call(os.system, './run-nightly-billing.py')
|
|
|
|