gyf304 / vmcli

A set of utilities (vmcli + vmctl) for macOS Virtualization.framework
BSD 2-Clause "Simplified" License
826 stars 44 forks source link

Shared folder or separate image for folder #7

Closed vmterm closed 3 years ago

vmterm commented 3 years ago

I have once encountered cloud init error after restarting Ubuntu, probably due to bug or wrongly remove essential packages would cause major problematics and not able to SSH with vmctl.

Linux partition could be customize with separate home image or allow user definite separate partition would be essential to avoid data loss in case we screw up?

Or a shared folder we can work from Linux and macOS is a neat feature.

gyf304 commented 3 years ago

You certainly can do that. You can dd an image and modify vm.conf to add the disk. (copy the existing disk line and add a new one) Then you can make the filesystem edit /etc/fstab to mount your new disk.

Shared folder is also easy to achieve using sshfs.

gyf304 commented 3 years ago

Closing due to inactivity. Feel free to reopen for discussion.