amluto / virtme

An easy way to virtualize the running system
GNU General Public License v2.0
330 stars 66 forks source link

virtme-init: create mountpoints if they don't exist #28

Closed lmb closed 5 years ago

lmb commented 5 years ago

Using a shared folder like --rwdir=/run/output=/path/on/host fails, since the mountpoint under /run does not exist. Create the mountpoint if it doesn't exist. Also abort the script if mounting fails.