openqa/worker: try and avoid failures in the NFS mount

I thought just having it WantedBy remote-fs.target should be
enough, but in fact this mount often fails on boot, and I forget
to check all the worker boxes until a bunch of tests fail and
everyone is sad. Let's try After=network-online.target and see
if that helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-06-15 09:11:40 -07:00
parent b8eeff1d9c
commit 5759ecd1b6

View file

@ -1,6 +1,7 @@
[Unit]
Description=openQA shared assets
ConditionPathExists=/var/lib/openqa/share
After=network-online.target
[Mount]
What={{ openqa_hostname }}:/var/lib/openqa/share