diff options
| author | Chuck Short <zulcss@ubuntu.com> | 2009-04-06 23:04:49 +0100 |
|---|---|---|
| committer | Bazaar Package Importer <jamesw@ubuntu.com> | 2009-04-06 23:04:49 +0100 |
| commit | c3ba031b7feb74bfbaf54fd73b599c95ed0df765 (patch) | |
| tree | db1dafc0bbb13a0efe1ec3f8c46220d5937aea4f /debian/init | |
| parent | 6dddf16cb8dea2e1a96b3d613b81087df247fd3d (diff) | |
| download | vyos-cloud-init-c3ba031b7feb74bfbaf54fd73b599c95ed0df765.tar.gz vyos-cloud-init-c3ba031b7feb74bfbaf54fd73b599c95ed0df765.zip | |
* 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.
Diffstat (limited to 'debian/init')
| -rw-r--r-- | debian/init | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/debian/init b/debian/init index 113d8700..ea4f0acf 100644 --- a/debian/init +++ b/debian/init @@ -38,6 +38,14 @@ case "$1" in log_end_msg 1 fi + log_daemon_msg "Running EC2 user data" + if ec2-run-user-data 2>&1 | logger -t "user-data" + then + log_end_msg 0 + else + log_end_msg 1 + fi + log_daemon_msg "Setting hostname to EC2 public_hostname" if ec2-set-hostname 2> /dev/null then @@ -53,14 +61,6 @@ case "$1" in log_end_msg 1 fi - log_daemon_msg "Running EC2 user data" - if ec2-run-user-data 2>&1 | logger -t "user-data" - then - log_end_msg 0 - else - log_end_msg 1 - fi - ;; stop) exit 0 |
