I created new Laravel project `laravel new blog` at folder 
`~/Documents/Laravel`

Changed folder to new Laravel project `cd blog`

Add  laravel/homestead (hyperv, 5.0.1) to project
`composer require laravel/homestead --dev`
Then
`vendor\\bin\\homestead make`

Edit `Homestead.yaml` file to next:
```
ip: 192.168.10.10
memory: 2048
cpus: 1
provider: *hyperv*
folders:
    -
        map: '*~/Documents/Laravel/blog*'
        to: /home/vagrant/code
sites:
    -
        map: *blog.test*
        to: /home/vagrant/code/public
databases:
    - homestead
name: blog
hostname: blog
```

Created Hyper-V External virtual switch with name `External`

Start vagrant `vagrant up` and select this `External` switch to attach to 
Hyper-V instance.

And vagrant creates two  shared resources for `*~/Documents/Laravel/blog*` 
folder.
The log is next:
```
==> blog: Preparing SMB shared folders...
    blog: You will be asked for the username and password to use for the SMB
    blog: folders shortly. Please use the proper username/password of your
    blog: Windows account.
    blog:
    blog: Username: Alex
    blog: Password (will be hidden):
==> blog: Setting hostname...
==> blog: Mounting SMB shared folders...
    blog: C:/Users/Alex/Documents/Laravel/blog => /home/vagrant/code
    blog: C:/Users/Alex/Documents/Laravel/blog => /vagrant
```

Is it vagrant or homestead issue?


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/716fb274-8feb-4332-89db-40b098012603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to