diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-18 06:39:03 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-18 06:39:03 +0000 |
commit | 31ce65505a4d8551d3c5a3da3a9fd6719a0e3e72 (patch) | |
tree | 41270aa7c8072d1dd4780da7f0c60cf767cd74d8 /contractor | |
parent | 3a872d545763758796cea3a917725745b8b4e457 (diff) | |
parent | 0b02e3cdc5bfb107f368a9d88bf166016d855dd1 (diff) | |
download | ick-contractor-31ce65505a4d8551d3c5a3da3a9fd6719a0e3e72.tar.gz |
Merge branch 'fixes' into 'master'
Various fixes and cleanups
See merge request larswirzenius/contractor!1
Diffstat (limited to 'contractor')
-rwxr-xr-x | contractor | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,7 @@ class ContractorApplication(cliapp.Application): worker = OnWorker( dest, 'worker@{}'.format(worker_ip), verbose=self.verbose) - self.exec_sequence(worker, MountWSonWorker()) + self.exec_sequence(worker, Mkdir('/workspace'), MountWSonWorker()) execs = [] install = bs.install() @@ -451,6 +451,7 @@ class Mkdir(RemoteExecution): def __init__(self, pathname, owner='root', group='root', mode=0o755): self._argv = [ + 'sudo', 'install', '-d', '-o', str(owner), '-g', str(group), |