~kees/eucalyptus/lp436977

« back to all changes in this revision

Viewing changes to debian/eucalyptus-sc.eucalyptus-sc-registration.upstart

  • Committer: Dustin Kirkland
  • Date: 2009-09-30 05:40:46 UTC
  • Revision ID: kirkland@canonical.com-20090930054046-vimxfuvqz47kvjtk
place, breaking the console.log logging
* eucalyptus-cc.eucalyptus-cc-registration.upstart,
eucalyptus-cc.upstart, eucalyptus-cloud.upstart,
eucalyptus-ipaddr.conf,
eucalyptus-sc.eucalyptus-sc-registration.upstart,
eucalyptus-sc.upstart, eucalyptus-walrus.upstart: using "localhost"
is breaking registration; instead, use the real, external ip
address; consolidate the (nasty) logic for determining this
into a single, sourcable, overridable location, LP: #437058

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
script
10
10
        . /etc/eucalyptus/eucalyptus-cc.conf
11
 
        euca_conf --no-rsync --local-sync --register-sc "$CC_NAME" localhost >> /var/log/eucalyptus/sc-registration.log 2>&1
 
11
        . /etc/eucalyptus/eucalyptus-ipaddr.conf
 
12
        euca_conf --no-rsync --local-sync --register-sc "$CC_NAME" "$SC_IP_ADDR" >> /var/log/eucalyptus/sc-registration.log 2>&1
12
13
end script