How I can get /vagrant folder on ubuntu/xenial64

后端 未结 5 1468
情歌与酒
情歌与酒 2021-02-20 16:58

I have just installed vagrant box with command:

vagrant init ubuntu/xenial64

and the booted it up with:

vagrant up --provider v         


        
5条回答
  •  走了就别回头了
    2021-02-20 17:26

    For some reason ubuntu/xenial64 doesn't come with a synced /vagrant folder.

    I had to setup my own in the vagrant file:

    config.vm.synced_folder ".", "/vagrant"
    

    The first option is the source (Windows) the second is the target (Ubuntu)

    Vagrant Synced Folders

提交回复
热议问题