Mount tmpfs on ansible tmp dir
We explicitly set the ansible local_tmp dir to {work}/tmp. Since ansible writes many small files in there we should mount a tmpfs there to save iops. Change-Id: Ia17d9dac8e7f5d8fb8e294c37a7b0a6621ee7c7c
This commit is contained in:
parent
bbff35751b
commit
74c1ba73ba
|
@ -199,6 +199,7 @@ class BubblewrapDriver(Driver, WrapperInterface):
|
|||
'--ro-bind', '/etc/localtime', '/etc/localtime',
|
||||
'--ro-bind', '{ssh_auth_sock}', '{ssh_auth_sock}',
|
||||
'--bind', '{work_dir}', '{work_dir}',
|
||||
'--tmpfs', '{work_dir}/tmp',
|
||||
'--proc', '/proc',
|
||||
'--dev', '/dev',
|
||||
'--chdir', '{work_dir}',
|
||||
|
|
Loading…
Reference in New Issue