<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,9 +10,13 @@ class Cinabox
     cruise_home = ENV['CRUISE_HOME'] || &quot;#{ENV['HOME']}/ccrb&quot;
     cruise_branch = ENV['CRUISE_BRANCH'] || &quot;git://github.com/thoughtworks/cruisecontrol.rb.git&quot;
     # cruise_tag = ENV['CRUISE_TAG']
-    cruise_tag = ENV['CRUISE_TAG'] if ENV['CRUISE_TAG']
+    cruise_tag = ENV['CRUISE_TAG']
     cinabox_dir = File.expand_path(File.dirname(__FILE__))
     cruise_daemon_template = ENV['CRUISE_DAEMON_TEMPLATE'] || &quot;#{cruise_home}/daemon/cruise&quot;
+    hostname = ENV['HOSTNAME']
+    
+    # set hostname
+    run &quot;sudo echo '#{hostname}' &gt; /etc/hostname&quot; if hostname
     
     # Build/download dir
     build_dir = ENV['BUILD_DIR'] || &quot;#{ENV['HOME']}/build&quot;</diff>
      <filename>setup_ci.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>db8f3b0f88969c8e2816b3db815d1962113e52e8</id>
    </parent>
  </parents>
  <author>
    <name>Chad Woolley</name>
    <email>thewoolleyman@gmail.com</email>
  </author>
  <url>http://github.com/thewoolleyman/cinabox/commit/e1311e5f35445321eaad25993637f5814855a01b</url>
  <id>e1311e5f35445321eaad25993637f5814855a01b</id>
  <committed-date>2009-09-16T01:04:07-07:00</committed-date>
  <authored-date>2009-09-16T01:04:07-07:00</authored-date>
  <message>allow hostname to be set via parameter</message>
  <tree>88f2d1a618fa63d0b8adff5be2d9ed65a12a4983</tree>
  <committer>
    <name>Chad Woolley</name>
    <email>thewoolleyman@gmail.com</email>
  </committer>
</commit>
