add the optiona $hostbase to the cloud setup schtick

This commit is contained in:
Seth Vidal 2012-10-22 17:47:45 +00:00
parent 6794fdc28b
commit 00c20b3fe2

View file

@ -21,8 +21,8 @@
- name: sync time - just once
action: command /usr/sbin/ntpdate -s -b 66.187.233.4
- name: edit hostname to be instance name
action: shell hostname `curl -s http://169.254.169.254/latest/meta-data/instance-id`
- name: edit hostname to be instance name - prefix hostbase var if it exists
action: shell hostname ${hostbase}`curl -s http://169.254.169.254/latest/meta-data/instance-id`
tags:
- config