You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
How does one get information from the config object in a Vagrant file. I see this assignment: c.vm.hostname="blah" but if I try to use #{c.vm.hostname} elsewhere in the Vagrant file (because I want to pass the host name to a shell script in a trigger), I get an exception: "no implicit conversion of Object into String." Or I just get <Object:0x000000010127e780>. What is the best way to get a string from that? Would really like to extract information from the configuration object.