同步虚拟机的内容
我通常使用 rsync 同步两台计算机(mac 和 linux),这样我就可以在任意一台机器上工作。是否还可以在 VirtualBox 创建的两个系统上同步虚拟机(特别是运行 Windows XP)?或许不是……?
I usually sync two computers (mac and linux) using rsync
so that I can work on either machine. Is it also possible to sync virtual machines (running Windows XP, specifically) on both systems that have been created by VirtualBox? Probably not...?
您可能可以使用各种路由规则和端口转发来做到这一点,但是让每个虚拟机使用
You can probably do it with all kinds of routing rules and port forwarding, but what about having each VM use a shared folder that you are rsyncing? This way you can rsync through hosts as you normally do and the VMs will pick up and make changes since the folder is shared between host and guest.