【问题标题】:Vagrant: Sync centos folder to windowsVagrant:将 centos 文件夹同步到 windows
【发布时间】:2016-11-16 05:23:54
【问题描述】:

我正在尝试将文件夹从我的 vagrant 虚拟机同步到 Windows 7 机器。 我在 .vagrant 文件中试过这样:

config.vm.synced_folder "/home/x/y/z/",  'C:/Users/me/Virtual Machines/nodejs'<br/>

然后我运行 vagrant reload。我在C:/Users/me/Virtual Machines/nodejs 文件夹中没有看到/home/x/y/z/ 的文件。

我的错误是什么?

【问题讨论】:

    标签: windows centos synchronization vagrant virtual-machine


    【解决方案1】:

    在我看来这可能是一个原因:

    1. 您的来宾路径的斜杠错误(Windows)。在您的情况下 'C:\\Users\\me\\Virtual Machines\\nodejs'

    【讨论】:

      猜你喜欢
      • 2016-06-16
      • 1970-01-01
      • 1970-01-01
      • 2016-06-18
      • 2016-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-20
      相关资源
      最近更新 更多