~kirkland/+junk/eucalyptus

« back to all changes in this revision

Viewing changes to debian/15-eucalyptus-url

  • Committer: Dustin Kirkland
  • Date: 2010-04-23 15:14:04 UTC
  • Revision ID: kirkland@x200-20100423151404-09k0kz03ju41xhba
re-added debian/15-eucalyptus-url

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# Print the administration URL in the MOTD
 
4
# Use an ip address URL for now; this could get prettier in the future,
 
5
# perhaps using the hostname.
 
6
 
 
7
printf "\nWelcome to the Ubuntu Enterprise Cloud!\n"
 
8
printf " * Documentation:  https://help.ubuntu.com/community/UEC\n"
 
9
printf " * Support:        http://www.ubuntu.com/cloud\n"
 
10
 
 
11
# If we could get eucalyptus-ipaddr.conf working correctly, we
 
12
# could print the CLC's ip addr from any machine.
 
13
if [ -r "/usr/share/doc/eucalyptus-cloud/copyright" ]; then
 
14
        . /etc/eucalyptus/eucalyptus-ipaddr.conf
 
15
        printf " * Administration: https://%s:8443/\n" "$CLOUD_IP_ADDR"
 
16
fi