Anyone tried user-data (cloud-init) within rackspace ? Mine seems not to
work.
I have two provision-templates, both of type user data
Template-1
···
-------------------- #cloud-configbootcmd:
- echo “10.180.0.203 puppet puppetmaster” >> /etc/hosts
packaages:
- git
- puppet
Template-2
#!/bin/bash
echo “10.180.0.203 puppet puppetmaster” >> /etc/hosts
I tried both one by one but the cloud-server that gets provisioned does not
seem to reflect these settings.