Tidy example.

pull/35/head
David Wilson 7 years ago
parent 354c96c409
commit 8d9c7245ec

@ -150,8 +150,9 @@ example enforce an interactive sudo TTY and account password.
webapp = router.sudo(via=webserver, username='webapp')
# Transparently tunnelled over fileserver -> .. -> sudo.webapp link
fileserver.call(econtext.fakessh.run, webapp,
['rsync', 'appdata', 'appserver:appdata'])
fileserver.call(econtext.fakessh.run, webapp, [
'rsync', 'appdata', 'appserver:appdata'
])
Module Forwarder

Loading…
Cancel
Save