Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure HyperV 9p mounts work when a dir doesn't exist
Before, we required that the mount target exist and be a directory for the 9p mount to successfully complete, which is not how things are supposed to work - the user should be able to mount anywhere. This should just be a simple mkdir, but with FCOS the root directory is immutable so we need to undo that before we can mkdir, and unfortunately we don't have a library that can do chattr (and I didn't want to drag in a new dependency just for that), so let's be gross and add it to the SSH command. I aggressively dislike this but it does work. [NO NEW TESTS NEEDED] Can worry about getting a more generic mount test together for Machine later. Signed-off-by: Matt Heon <mheon@redhat.com>
- Loading branch information