summaryrefslogtreecommitdiff
path: root/tools/cloud-init
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-10-25 14:15:34 +0200
committerKim Hagen <kim.sidney@gmail.com>2018-10-25 14:15:34 +0200
commita0cdf15c5e65160cf2e56b1658cab11146109a11 (patch)
tree2ba51380c1fd4b6d29ba105e4f3f1e8fd011f310 /tools/cloud-init
parent16cc9be3ba331216392e988f20183ab8c4eda0ce (diff)
downloadvyos-build-a0cdf15c5e65160cf2e56b1658cab11146109a11.tar.gz
vyos-build-a0cdf15c5e65160cf2e56b1658cab11146109a11.zip
Add build command for AWS
Diffstat (limited to 'tools/cloud-init')
-rw-r--r--tools/cloud-init/AWS/90_dpkg.cfg2
-rw-r--r--tools/cloud-init/AWS/config.boot.default30
2 files changed, 32 insertions, 0 deletions
diff --git a/tools/cloud-init/AWS/90_dpkg.cfg b/tools/cloud-init/AWS/90_dpkg.cfg
new file mode 100644
index 00000000..1bf7d288
--- /dev/null
+++ b/tools/cloud-init/AWS/90_dpkg.cfg
@@ -0,0 +1,2 @@
+# to update this file, run dpkg-reconfigure cloud-init
+datasource_list: [ Ec2 ]
diff --git a/tools/cloud-init/AWS/config.boot.default b/tools/cloud-init/AWS/config.boot.default
new file mode 100644
index 00000000..18f6ef09
--- /dev/null
+++ b/tools/cloud-init/AWS/config.boot.default
@@ -0,0 +1,30 @@
+system {
+ syslog {
+ global {
+ facility all {
+ level info
+ }
+ facility protocols {
+ level debug
+ }
+ }
+ }
+ ntp {
+ server "0.pool.ntp.org"
+ server "1.pool.ntp.org"
+ server "2.pool.ntp.org"
+ }
+ console {
+ device ttyS0 {
+ speed 9600
+ }
+ }
+ config-management {
+ commit-revisions 100
+ }
+}
+
+interfaces {
+ loopback lo {
+ }
+}