API: Clone Linode, Private IP
Does anyone know if there is an API for cloning whole linodes (or at least cloning configs/disk images into new linodes)? I'm aware of the "Clone this Linode" feature, but I want it completely automated.
The same is about private IPs. Is there a way to add a private IP to a linode without clicking that "Add a Private IP" button?
Thanks.