summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChuck Short <zulcss@ubuntu.com>2009-04-06 23:04:48 +0100
committerBazaar Package Importer <jamesw@ubuntu.com>2009-04-06 23:04:48 +0100
commit6dddf16cb8dea2e1a96b3d613b81087df247fd3d (patch)
treeb8945a128e4eca03b25b1dd0d93368c797bd9a9c /templates
parent406eb2f8e235c7e24b7eeb1c044ef64741f0569b (diff)
downloadvyos-cloud-init-6dddf16cb8dea2e1a96b3d613b81087df247fd3d.tar.gz
vyos-cloud-init-6dddf16cb8dea2e1a96b3d613b81087df247fd3d.zip
* ec2-set-hostname.py:
- Use template for /etc/hosts creation. - Dont use public_hostname in /etc/hosts. (LP: #352745) * debian/control: - Add python-cheetah as a depends. * templates/sources.list.tmpl: - Update template. * debian/init: - Run the ec2-user-data script last so that the users get a stable system before running the user scripts.
Diffstat (limited to 'templates')
-rw-r--r--templates/hosts.tmpl10
-rw-r--r--templates/sources.list.tmpl2
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/hosts.tmpl b/templates/hosts.tmpl
new file mode 100644
index 00000000..642e7a7e
--- /dev/null
+++ b/templates/hosts.tmpl
@@ -0,0 +1,10 @@
+127.0.0.1 localhost
+127.0.1.1 $hostname
+
+# The following lines are desirable for IPv6 capable hosts
+::1 ip6-localhost ip6-loopback
+fe00::0 ip6-localnet
+ff00::0 ip6-mcastprefix
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters
+ff02::3 ip6-allhosts
diff --git a/templates/sources.list.tmpl b/templates/sources.list.tmpl
index bd999dda..59dfa959 100644
--- a/templates/sources.list.tmpl
+++ b/templates/sources.list.tmpl
@@ -1,4 +1,6 @@
deb $mirror $codename main universe
+deb-src $mirror $codename main universe
deb $mirror $codename-updates main universe
+deb-src $mirror $codename-updates main universe
deb http://security.ubuntu.com/ubuntu $codename-security main restricted
deb-src http://security.ubuntu.com/ubuntu $codename-security main restricted