I hereby claim:
- I am fifteen3 on github.
- I am fifteen3 (https://keybase.io/fifteen3) on keybase.
- I have a public key ASBwrrMpc9W1A7GzhdRIOizM3ce14_UKZPmDpnnMinZw8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#typically you need this for a dhcp public network setup | |
#with private networks you set the ip address but it is still useful | |
#to have this provisioner if you reload the vagrant file as it will remind | |
#you what the ip address is, so you can set it in your host file. | |
#use eth0 if the network is public, eth1 if the network is private | |
$network_interface = "eth0" | |
$display_ip_address = <<IP_ADDRESS | |
ipaddress=`/sbin/ifconfig #{$network_interface} | grep 'inet addr' | awk -F' ' '{print $2}' | awk -F':' '{print $2}'` | |
echo "ip address: $ipaddress" |