Automount an sftp folder in appVM

qubes-misc-post.service (which is responsible for running /rw/config/rc.local) is not ordered after network.target, so there’s no guarantee it will run after the network is up - but it probably happens occasionally.

Does it work reliably if you prepend the line

until systemctl is-active network.target; do sleep 1; done

before your sshfs line in rc.local?

2 Likes