diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-18 09:35:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-18 09:35:33 +0300 |
commit | 0b02e3cdc5bfb107f368a9d88bf166016d855dd1 (patch) | |
tree | 41270aa7c8072d1dd4780da7f0c60cf767cd74d8 | |
parent | b653961a50cc3ab45f2a3e121c15bb0683c36e44 (diff) | |
download | ick-contractor-0b02e3cdc5bfb107f368a9d88bf166016d855dd1.tar.gz |
Fix: create /workspace, my worker VM images no longer have it
The less an image needs to provide, the better.
-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), |