Skip to content

Instantly share code, notes, and snippets.

@atsuoishimoto
Created January 16, 2019 01:39
Show Gist options
  • Save atsuoishimoto/e358aaee9e8e5172a69834b6a1957f9d to your computer and use it in GitHub Desktop.
Save atsuoishimoto/e358aaee9e8e5172a69834b6a1957f9d to your computer and use it in GitHub Desktop.
systemd mount unit for virtualbox shared folder
# systemd-escape -p --suffix=mount /home/ishimoto/host
[Unit]
Description=VBox share
[Mount]
What=host
Where=/home/ishimoto/host
Type=vboxsf
[Install]
WantedBy=multi-user.target
---------------------------------------------------------
home-ishimoto-host.automount
# systemd-escape -p --suffix=mount /home/ishimoto/host
[Unit]
Description=VBox share
[Mount]
Where=/home/ishimoto/host
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment