本文介绍了我无所事事后,对Homestead.yaml所做的更改未反映在虚拟环境中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Homestead.yaml文件(C:\ Users \ username \ .homestead)中编辑了共享文件夹映射规则.然后,我输入了"vagrant halt"命令以关闭流浪者.然后,我输入了无助".

I edited the shared folder mapping rules in my Homestead.yaml file (C:\Users\username\.homestead). Then, I entered "vagrant halt" command to shut down vagrant. Then, I entered "vagrant up".

但是,我对文件夹映射所做的编辑未反映在虚拟环境中.好像我的更改根本没有在Homestead.yaml文件中进行.

However, the edits that I made to the folder mapping are not reflected in the virtual environment. It's as if my changes were not made at all in the Homestead.yaml file.

如何使无所事事的虚拟环境反映对Homestead.yaml文件所做的更改?

How do I make the vagrant virtual environment reflect the changes that I made to the Homestead.yaml file?

推荐答案

您应该使用

vagrant reload --provision

这篇关于我无所事事后,对Homestead.yaml所做的更改未反映在虚拟环境中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 13:26