Hi ya'll,

So in my Vagrantfile, I have an array of hashes for various VMs that are 
needed to boot our environment. There is also a corresponding Ruby hash of 
name & MAC addresses that are required for proper DHCP IP assignment. If I 
explicitly declare a MAC address *node_config.vm.network :public_network, { 
:mac => "080007bf8c1f" } *the MAC is properly assigned. When attempting to 
utilize the array of nodes and reference the MAC hash, I cannot get the MAC 
address to be assigned. My initial assumption is that I'm screwing up my 
Ruby when referencing the array & hashes like *:**mac => 
"#{MAC[node[:name]]}"*, but I'm uncertain.

The MAC hash is actually stored in a separate file and fetched via the 
eval() method. A copy of that is included in the Gist below.

https://gist.github.com/bmurtagh/cd3d28ea416d434f43c4

Thanks,

Brendan

-- 
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