@@ -71,7 +71,7 @@ def _format_addr(self, addr):
7171 return fmt .format (ipaddr )
7272
7373 async def scp_to (self , source , destination , user = 'ubuntu' , proxy = False ,
74- scp_opts = '' , wait_for_active = True , timeout = None ):
74+ scp_opts = '' , wait_for_active = False , timeout = None ):
7575 """Transfer files to this machine.
7676
7777 :param str source: Local path of file(s) to transfer
@@ -97,7 +97,7 @@ async def scp_to(self, source, destination, user='ubuntu', proxy=False,
9797 await self ._scp (source , destination , scp_opts )
9898
9999 async def scp_from (self , source , destination , user = 'ubuntu' , proxy = False ,
100- scp_opts = '' , wait_for_active = True , timeout = None ):
100+ scp_opts = '' , wait_for_active = False , timeout = None ):
101101 """Transfer files from this machine.
102102
103103 :param str source: Remote path of file(s) to transfer
@@ -142,7 +142,7 @@ async def _scp(self, source, destination, scp_opts):
142142 raise JujuError ("command failed: %s" % cmd )
143143
144144 async def ssh (
145- self , command , user = 'ubuntu' , proxy = False , ssh_opts = None , wait_for_active = True , timeout = None ):
145+ self , command , user = 'ubuntu' , proxy = False , ssh_opts = None , wait_for_active = False , timeout = None ):
146146 """Execute a command over SSH on this machine.
147147
148148 :param str command: Command to execute
0 commit comments