mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Extend build server logging when downloading an image
This commit is contained in:
parent
149db4c989
commit
b67b174eb5
1 changed files with 3 additions and 1 deletions
|
@ -132,7 +132,9 @@ class RemoteBuildServer(BuildServer):
|
||||||
self.ssh_process.wait()
|
self.ssh_process.wait()
|
||||||
|
|
||||||
def download(self, src, dst):
|
def download(self, src, dst):
|
||||||
log.debug('Downloading file `{path}\' from build server `{name}\''.format(path=src, name=self.name))
|
log.debug('Downloading file `{src}\' from '
|
||||||
|
'build server `{name}\' to `{dst}\''
|
||||||
|
.format(src=src, dst=dst, name=self.name))
|
||||||
# Make sure we can read the file as {user}
|
# Make sure we can read the file as {user}
|
||||||
self._remote_command(['sudo', 'chown', self.username, src])
|
self._remote_command(['sudo', 'chown', self.username, src])
|
||||||
src_arg = '{user}@{host}:{path}'.format(user=self.username, host=self.address, path=src)
|
src_arg = '{user}@{host}:{path}'.format(user=self.username, host=self.address, path=src)
|
||||||
|
|
Loading…
Add table
Reference in a new issue