diff options
author | Soren Hansen <soren@canonical.com> | 2009-08-10 21:40:50 +0200 |
---|---|---|
committer | Soren Hansen <soren@canonical.com> | 2009-08-10 21:40:50 +0200 |
commit | b09aad371fb26386655646b035870ac6a665a9e2 (patch) | |
tree | 26d8858119e64182f485076dd4eb18409dff2b83 /debian | |
parent | bdf51952e84c949b2a214593abd522337c1fc16f (diff) | |
download | vyos-cloud-init-b09aad371fb26386655646b035870ac6a665a9e2.tar.gz vyos-cloud-init-b09aad371fb26386655646b035870ac6a665a9e2.zip |
Remove debian/ directory in preparation for upstream/ubuntu split.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 261 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/copyright | 27 | ||||
-rw-r--r-- | debian/ec2-init.rightscale-init.init | 103 | ||||
-rw-r--r-- | debian/install | 3 | ||||
-rwxr-xr-x | debian/rules | 12 |
7 files changed, 0 insertions, 422 deletions
diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 641cb73e..00000000 --- a/debian/changelog +++ /dev/null @@ -1,261 +0,0 @@ -ec2-init (0.3.4ubuntu9) karmic; urgency=low - - * Really include the action id in the semaphore filename. - - -- Soren Hansen <soren@ubuntu.com> Sat, 11 Jul 2009 09:50:31 +0200 - -ec2-init (0.3.4ubuntu8) karmic; urgency=low - - * Add Vcs-Bzr header to debian/control. - * Include the action id in the semaphore filename. - - -- Soren Hansen <soren@ubuntu.com> Sat, 11 Jul 2009 02:35:43 +0200 - -ec2-init (0.3.4ubuntu7) karmic; urgency=low - - * Re-add accidentally removed locale template. - * Fix indentation in init script. - - -- Soren Hansen <soren@ubuntu.com> Fri, 10 Jul 2009 23:47:27 +0200 - -ec2-init (0.3.4ubuntu6) karmic; urgency=low - - * Replace calls to ec2-get-data with calls to ec2-get-info. - * Make this package arch: all. - - -- Soren Hansen <soren@ubuntu.com> Fri, 10 Jul 2009 23:16:35 +0200 - -ec2-init (0.3.4ubuntu5) karmic; urgency=low - - * debian/init: Move instance reboot detection out of python - scripts and move them to the init script. - * debian/ec2-set-defaults.py: - - Point to the right location for locate (LP: #387611) - - Default to UTC (LP: #341060) - * debian/ec2-set-apt-sources.py: If you cant contact EC2 then use the - regular archive (LP: #387027) - * debian/ec2-setup-hostname.py: Use the local hostname in /etc/hosts - and dont change once rebooted. (LP: #352745) - - -- Chuck Short <zulcss@ubuntu.com> Wed, 08 Jul 2009 09:48:49 -0400 - -ec2-init (0.3.4ubuntu4) karmic; urgency=low - - * debian/init: Run update-motd regardless whether its a firstboot or not. - * debian/init: Fix comments (LP: #373057) - * debian/control: Add update-motd as a depends. - * ec2-set-defaults.py: Wait for network to become available. (LP: #308530) - - -- Chuck Short <zulcss@ubuntu.com> Thu, 28 May 2009 05:04:31 -0400 - -ec2-init (0.3.4ubuntu3) karmic; urgency=low - - * debian/init: Move init script to run before ssh and regenerate the ssh - host kes in the init script rather than /etc/rc.local (LP: #370628) - * ec2-set-apt-sources.py: - - Move sources.list to /var/ec2 so it doesnt get removed after user - reboots. - * ec2-set-defaults.py: - - Move locale to /var/ec2/ so it doesnt get remove after user reboots. - * ec2-set-hostname.py - - Create an /etc/hostname as well. - - -- Chuck Short <zulcss@ubuntu.com> Thu, 14 May 2009 11:11:49 -0400 - -ec2-init (0.3.4ubuntu2) karmic; urgency=low - - * Really change the locale when setting up an instance. (LP: #341066) - * Run ec2-run-user-data script last. (LP: #373055) - * Minor comment tweaks. (LP: #373057) - - -- Chuck Short <zulcss@ubuntu.com> Wed, 13 May 2009 13:41:35 -0400 - -ec2-init (0.3.4ubuntu1) karmic; urgency=low - - * Add more smarts to ec2 instance bring up. (LP: #371936) - - -- Chuck Short <zulcss@ubuntu.com> Tue, 05 May 2009 08:59:54 -0400 - -ec2-init (0.3.3ubuntu12) jaunty; urgency=low - - * ec2-run-user-data.py: Fix error. - - -- Chuck Short <zulcss@ubuntu.com> Tue, 07 Apr 2009 08:14:07 -0400 - -ec2-init (0.3.3ubuntu11) jaunty; urgency=low - - * debian/control: - - Add python-cheetah and python-apt as a dependency. - * debian/ec2-config.cfg: - - Remove distro due to the change in ec2-set-apt-sources.py - * debian/inistall - - Install the templates in the right place. - * ec2-set-apt-sources.py: - - Use python-apt to update the sources.list. - - -- Chuck Short <zulcss@ubuntu.com> Wed, 01 Apr 2009 13:58:43 -0400 - -ec2-init (0.3.3ubuntu10) jaunty; urgency=low - - * ec2-set-hostname.py: - - Use template for /etc/hosts creation. - - Dont use public_hostname in /etc/hosts. (LP: #352745) - - -- Chuck Short <zulcss@ubuntu.com> Wed, 01 Apr 2009 08:48:05 -0400 - -ec2-init (0.3.3ubuntu9) jaunty; urgency=low - - * ec2-set-apt-sources.py: - - Use a template to generate the sources.list and generate it based on the lsb_release. - - -- Chuck Short <zulcss@ubuntu.com> Tue, 31 Mar 2009 15:15:55 -0400 - -ec2-init (0.3.3ubuntu8) jaunty; urgency=low - - * ec2-set-apt-sources.py: - - Add the ubuntu-on-ec2 ppa. - - -- Chuck Short <zulcss@ubuntu.com> Tue, 31 Mar 2009 09:37:13 -0400 - -ec2-init (0.3.3ubuntu7) jaunty; urgency=low - - * debian/rules: Fix typo. - - -- Chuck Short <zulcss@ubuntu.com> Sun, 22 Mar 2009 17:14:16 -0400 - -ec2-init (0.3.3ubuntu6) jaunty; urgency=low - - * Set the configuration file to jaunty. - * ec2-fetch-credentials: Fix typo. - * ec2-set-defaults.py: - - Remove timezone change when booting the instance. - - Redirect output to /dev/null. - * ec2-set-apt-sources.py: - - Run apt-get update after the /etc/apt/sources.list and - redirect the output to /dev/null. - * rightscale-init: Updated rightscale-init - - -- Chuck Short <zulcss@ubuntu.com> Thu, 19 Mar 2009 20:52:59 -0400 - -ec2-init (0.3.3ubuntu5) jaunty; urgency=low - - * debian/ec2-config.cfg: - - Add disable root option. - * debian/ec2-init.rightscale-init.init: - - Add rightscale detection script. - * ec2-get-info.py: - - Display the information about an AMI instance. - - -- Chuck Short <zulcss@ubuntu.com> Mon, 16 Mar 2009 08:54:49 -0400 - -ec2-init (0.3.3ubuntu4) jaunty; urgency=low - - * ec2-fetch-credentials.py: - - Allow user to choose which user they wish to configure for. - - Allow user to disable root user if they wish to. - * ec2-set-defaults.py: - - Set default timezone to UTC. - - Set locale depending on zone. - * debian/init: - - Removed nash plugin. - - Add ec2-set-defaults. - - -- Chuck Short <zulcss@ubuntu.com> Wed, 04 Mar 2009 08:33:01 -0500 - -ec2-init (0.3.3ubuntu3~intrepid4) intrepid; urgency=low - - * set distro to intrepid. - - -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Feb 2009 10:28:06 -0500 - -ec2-init (0.3.3ubuntu3) jaunty; urgency=low - - * debian/ec2-init: Log results of ec2-run-user-data to syslog. - * ec2-run-user-data.py :Dont leave files around and log the - output to syslog. - - -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Feb 2009 10:24:35 -0500 - -ec2-init (0.3.3ubuntu2) jaunty; urgency=low - - * ec2-set-apt-sources.py: - - Use the ec2 mirrors. (LP: #317065, #333897) - - Update the /etc/apt/sources.list (LP: #333904) - * ec2-fetch-credentials.py: - - Better error checking (LP: #325067) - - -- Chuck Short <zulcss@ubuntu.com> Tue, 24 Feb 2009 14:02:37 -0500 - -ec2-init (0.3.3ubuntu1) jaunty; urgency=low - - * debian/init: Fix init script. - - -- Chuck Short <zulcss@ubuntu.com> Fri, 20 Feb 2009 09:22:54 -0500 - -ec2-init (0.3.3) jaunty; urgency=low - - * ec2-set-apt-sources.py - - Determine the zone that the user is in and generate - a /etc/apt/sources.list.d/ based on that. - * debian/init: - - Check to see if there is an /var/run/ec2 and create - it if it doesnt exist. - - Start ec2-set-apt-sources at first bootup. - * debian/rules: - - Install ec2-set-apt-sources. - * debian/control: - - Add python-configobj as a dependency. - * debian/{install,dirs} - - Create an /etc/ec2-init to read the configuration file and install it. - - -- Chuck Short <zulcss@ubuntu.com> Mon, 09 Feb 2009 10:35:56 -0500 - -ec2-init (0.3.2) jaunty; urgency=low - - * debian/init: - - Remove already ran detection - - Log the running of ec2-run-user-data to /var/log/ec2-user-data.log - * ec2-set-hostname.py: - - set hostname to the Ec2 local-hostname - - Update the /etc/hosts to change the ubuntu hostname to the - public hostname. - * ec2-fetch-credentials: - - Copy the ssh keys to the ubuntu user. - - Setup authorized keys for root to tell the user to login as the - ubuntu user when they try to connect. - * ec2-run-user-data: - - Create an .already-ran file to check to see if ec2-run-user-data - already ran. - - Save the ec2-run-user-data script in /var/ec2. - - -- Chuck Short <zulcss@ubuntu.com> Wed, 04 Feb 2009 09:32:08 -0500 - -ec2-init (0.3.1) jaunty; urgency=low - - * debian/dir: Install /var/ec2 to save user-data scripts. - * debian/rules: Start ec2-init after ssh. - * ec2-run-user-data.py: Save run-user-data script with ami-id. - - -- Chuck Short <zulcss@ubuntu.com> Mon, 26 Jan 2009 10:40:52 -0500 - -ec2-init (0.3) jaunty; urgency=low - - * ec2-run-user-data: Fix python error when writing a file to the disk. - - -- Chuck Short <zulcss@ubuntu.com> Thu, 15 Jan 2009 11:49:08 -0500 - -ec2-init (0.2) jaunty; urgency=low - - * debian/init: Run fetch-credentials before anything else. - (LP: #308533) - * Add ec2-set-hostname.py: Queries ec2 metdada for public-hostname - and then sets it (LP: #316201) - - -- Chuck Short <zulcss@ubuntu.com> Tue, 13 Jan 2009 15:20:21 -0500 - -ec2-init (0.1) intrepid; urgency=low - - * Initial release (LP: #269434). - - -- Soren Hansen <soren@ubuntu.com> Fri, 12 Sep 2008 15:30:32 +0200 - diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff82..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100644 index 97aaa113..00000000 --- a/debian/control +++ /dev/null @@ -1,15 +0,0 @@ -Source: ec2-init -Section: admin -Priority: extra -Maintainer: Soren Hansen <soren@ubuntu.com> -Build-Depends: cdbs, debhelper (>= 5), debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6) -XS-Python-Version: all -Standards-Version: 3.8.0 - -Package: ec2-init -Architecture: all -Depends: python, procps, python-configobj, python-cheetah, update-motd, python-boto, ${python:Depends} -XB-Python-Version: ${python:Versions} -Description: Init scripts for EC2 instances - EC2 instances need special scripts to run during initialisation - to retrieve and install ssh keys and to let the user run various scripts. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 28f143d0..00000000 --- a/debian/copyright +++ /dev/null @@ -1,27 +0,0 @@ -This package was debianized by Soren Hansen <soren@ubuntu.com> on -Thu, 04 Sep 2008 12:49:15 +0200. - -Upstream Author: - - Soren Hansen <soren@canonical.com> - Chuck Short <chuck.short@canonical.com> - -Copyright: - - Copyright 2008-2009 Canonical Ltd. - -License: - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License version 3, as - published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - -The complete text of the GPL version 3 can be seen in /usr/share/common-licenses/GPL. diff --git a/debian/ec2-init.rightscale-init.init b/debian/ec2-init.rightscale-init.init deleted file mode 100644 index 10ba39d3..00000000 --- a/debian/ec2-init.rightscale-init.init +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/bash -# -# This script will configure an Ubuntu server for use with RightScale -# - -start() { - ## First check to see if we were launched through RightScale. Exit and remove if not... - user_data=`curl -s -S -f -L --retry 7 -w ' %{http_code}' http://169.254.169.254/latest/user-data` - if `echo $user_data | grep -v "RS_token=" 1>/dev/null 2>&1` ; then - ## Remove this init script so that it does not run again - remove - exit 0 - fi - - ## ok, we were launched through RightScale, so let's continue - echo "Detected a RightScale instance..." - echo "Beginning configuration..." - - ## figure out which version of RightScale to install... - export rs_release=Ubuntu_`lsb_release -rs` - - ## Install some necessary packages - echo "Installing necessary packages..." - export DEBIAN_FRONTEND=NONINTERACTIVE - apt-get update - apt-get install -y binutils ruby1.8 sysv-rc-conf unzip ruby1.8-dev build-essential autoconf automake libtool logrotate rsync openssl ca-certificates libopenssl-ruby1.8 - - ## Add rightscale customizations - echo "Installing RightScale" - curl -s -S -f -L --retry 7 -w ' %{http_code}' -o /tmp/rightscale_scripts.tgz http://s3.amazonaws.com/rightscale_scripts/rightscale_scripts_"$rs_release".tgz - tar -xzf /tmp/rightscale_scripts.tgz -C /opt/ - ln -f /opt/rightscale/etc/init.d/rightscale /etc/init.d/rightscale - chmod +x /opt/rightscale/etc/init.d/rightscale - chmod +x /etc/init.d/rightscale - mkdir -p /etc/rightscale.d - update-rc.d rightscale start 98 2 3 4 5 . stop 1 0 1 6 . - ln -sf /usr/bin/ruby1.8 /usr/bin/ruby - ln -f /opt/rightscale/etc/motd /etc/motd - echo $rs_release > /etc/rightscale-release - - ## Add rubygems 1.8 - echo "Installing RubyGems 1.8..." - curl -s -S -f -L --retry 7 -w ' %{http_code}' -o /tmp/rubygems.tgz http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz - mkdir -p /tmp/rubygems - tar -xzvf /tmp/rubygems.tgz -C $root/tmp/rubygems - cd /tmp/rubygems/rubygems-1.3.1/ - ruby setup.rb --no-rdoc --no-ri - ln -s /usr/bin/gem1.8 /usr/bin/gem - gem source -a http://ec2-us-east-mirror.rightscale.com/rubygems/archive/latest/ - gem source -r http://mirror.rightscale.com - gem install --no-rdoc --no-ri xml-simple net-ssh net-sftp s3sync - updatedb - - ## Add some links to keep things inline - ln -s /usr/lib/site_ruby/aes /usr/local/lib/site_ruby/1.8/aes - ln -s /usr/lib/site_ruby/ec2 /usr/local/lib/site_ruby/1.8/ec2 - ln -s /usr/bin/env /bin/env - - ## Insert 'ec2' as the cloud - echo "ec2" > /etc/rightscale.d/cloud - - ## Enable root logins - echo "Enabling root logins..." - cp -f /home/ubuntu/.ssh/authorized_keys /root/.ssh/. - - ## Remove the default sources.list becasue RightScale will create a better one anyways... - rm -f /etc/apt/sources.list.d/amazon.list - - ## Remove this init script so that it does not run again - remove - - ## Start the rightscale service - echo "Starting RightScale..." - /etc/init.d/rightscale start - echo "RightScale services started properly" - -} - -stop() { - exit 0 -} - -remove() { - my_name=`readlink -e $0` - update-rc.d -f `basename $my_name` remove - rm -f $my_name -} - - -# See how we were called. -case "$1" in - start) - start >>/var/log/install 2>&1 - ;; - stop) - stop >>/var/log/install 2>&1 - ;; - *) - echo $"Usage: $0 {start|stop}" - exit 1 -esac - -exit $? diff --git a/debian/install b/debian/install deleted file mode 100644 index 7cea0e92..00000000 --- a/debian/install +++ /dev/null @@ -1,3 +0,0 @@ -#debian/ec2-init/usr/bin/* -#debian/ec2-init/etc/ec2-init/templates/* -#debian/ec2-config.cfg etc/ec2-init diff --git a/debian/rules b/debian/rules deleted file mode 100755 index bb5f10b4..00000000 --- a/debian/rules +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/make -f - -DEB_PYTHON_SYSTEM=pycentral -include /usr/share/cdbs/1/class/python-distutils.mk -include /usr/share/cdbs/1/rules/debhelper.mk -DEB_DH_INSTALLINIT_ARGS=-o - -DEB_UPDATE_RCD_PARAMS:= start 15 2 3 4 5 . stop 20 1 . - -binary-install/ec2-init:: - for x in $(DEB_DESTDIR)/usr/bin/*.py; do mv "$$x" "$${x%.py}"; done - dh_installinit -p ec2-init --name rightscale-init -- defaults 99 09 |