typo,.. missing a quote

config.vm.provider "hyperv" do |hv|
  hv.vmname = "testmachine"
end

On Tue, Feb 10, 2015 at 9:20 AM, Alvaro Miranda Aguilera
<[email protected]> wrote:
> Hello Nicola,
>
> In the vagrantfile you should be able to define a hyperv block to set
> serveral options, one is the name on the gui
>
> https://docs.vagrantup.com/v2/hyperv/configuration.html
>
> vmname (string) - Name of virtual mashine as shown in Hyper-V manager.
> Defaults is taken from box image XML.
>
> I haven't done it, so please try this:
>
> config.vm.provider "hyperv" do |hv|
>   hv.vmname = testmachine"
> end
>
>
>
>
> On Mon, Feb 9, 2015 at 9:41 PM, Nicola <[email protected]> wrote:
>> Hi to all,
>> in my vagrant project  I've a gui where the users put into a box the name of
>> the development environment. I want that this name is used in the
>> vagrantfile to set the name for the hostname and for the name of the vm in
>> hyperv. It's possible?
>>
>> Thanks
>>
>> Nicola
>>
>>
>> --
>> 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].
>> For more options, visit https://groups.google.com/d/optout.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to