Permalink
Browse files

save appliance name to /etc/cirras file

  • Loading branch information...
1 parent 05b92bb commit ea817140ba8b4a9ae9ca63a69e38fa570b9afc75 @goldmann goldmann committed May 11, 2010
Showing with 5 additions and 0 deletions.
  1. +3 −0 appliances/back-end.appl
  2. +1 −0 appliances/front-end.appl
  3. +1 −0 appliances/management.appl
View
@@ -14,3 +14,6 @@ packages:
- jboss-as6
- jboss-as6-cloud-profiles
- java-1.6.0-openjdk
+post:
+ base:
+ - "/bin/echo 'appliance_name: front-end' > /etc/cirras"
@@ -15,3 +15,4 @@ post:
base:
- "/sbin/chkconfig --level 234 httpd on"
- "/sbin/chkconfig --level 234 jgroups-gossip on"
+ - "/bin/echo 'appliance_name: front-end' > /etc/cirras"
@@ -23,3 +23,4 @@ post:
- "/sbin/service postgresql initdb"
- "/bin/sed -i s/'^host'/'# host'/g /var/lib/pgsql/data/pg_hba.conf"
- "/bin/echo 'host rhq rhq 127.0.0.1/32 md5' >> /var/lib/pgsql/data/pg_hba.conf"
+ - "/bin/echo 'appliance_name: front-end' > /etc/cirras"

0 comments on commit ea81714

Please sign in to comment.