- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: public ip address on ec2
- Date: Fri, 1 Aug 2014 23:25:06 -0700
node['ec2']['public_ipv4']
If you are on VPC, make sure you have the ohai hint set (this is done
automatically by knife-ec2).
--Noah
On Aug 1, 2014, at 11:13 PM, David Montgomery
<
>
wrote:
>
How doI get the public ip address on ec2?
>
>
>
this returns the private ip address
>
>
node[:ipaddress]
>
>
Thanks
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.