Hi Ben.
did you solved this issue ? . am facing the same issue which you are faced
...
kindly post if you have short it out already
Jega
On Friday, July 31, 2015 at 6:52:35 AM UTC-7, Ben Salem wrote:
>
> I've been trying to get a basic coreOS box up and running with a shared
> directory for the past day or so, but I've run into a couple of roadblocks,
> and I haven't been able to find an answer to this one online! I upgraded to
> Powershell 3.0 to get rid of the first issue I was seeing (a hang right
> after trying to name the box) and now I'm seeing the following problem!
>
> The line that I'm using to create the synced folder is:
>
> # Attempt to make synced dir
> config.vm.synced_folder ".", "/home/core/dev", id: "core", :nfs =>
> true, :mount_options => ['nolock,vers=3,udp']
>
> The error that I see when running normally is:
>
> c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/guests/linux/cap/c
> hoose_addressable_ip_addr.rb:7:in `block in choose_addressable_ip_addr':
> undefined method `each' for nil:NilClass (NoMethodError)
>
> Turning on debug spew gives me the following:
> DEBUG subprocess: stderr: Get-NetIPAddress : The term 'Get-NetIPAddress'
> is not recognized as the name of a cmdlet, function, script file, or
> operable program. Check the spelling of
> the name, or if a path was included, verify that the path is correct and
> try
> again.
> At
> C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\synced_folders
> \smb\scripts\host_info.ps1:3 char:8
> + $net = Get-NetIPAddress | Where-Object {
> + ~~~~~~~~~~~~~~~~
> + CategoryInfo : ObjectNotFound: (Get-NetIPAddress:String)
> [], CommandNotFoundException
> + FullyQualifiedErrorId : CommandNotFoundException
>
> Tracking that down led me to discover that Powershell 3.0 doesn't actually
> have the Get-NetIPAddress scriptlet installed on Win7 SP1, nor does it
> support it, which is problematic. I know other vagrantfiles I've used in
> the past (not authored by me) have worked doing this exact thing on Win7,
> but I don't know what they've done differently. Would anyone happen to have
> any advice on getting this up and running?
>
> Thanks!
>
--
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/a840d6e8-4e53-4960-8cc5-4af45505b064%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.