opscode/knife-linode — pull request #12 by bryanstearns (2012-07-31 00:08:45+00:00)
Title: Access to new Linode's private IP address, etc

I see that new Linodes are given a private IP address automatically, but I couldn't find a way to get to the private IP address from within the new Linode's initial chef-client run.

This commit changes linode_server_create to pass the IP addresses and other node info into the first_boot_attributes, then modified my bootstrap script to add the private interface to /etc/network/interface (which allows me to then use Linsides' apt-cacher-ng right away, which really sped up Linode provisioning). Here's our bootstrap that uses this: https://gist.github.com/3212198

Or is there a better way for this to work?