summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-10-23 23:58:42 +0200
committerKim Hagen <kim.sidney@gmail.com>2018-10-23 23:58:42 +0200
commit16cc9be3ba331216392e988f20183ab8c4eda0ce (patch)
treee39eef286e6c838ba0382cd76a8269fe591b53c7 /tools
parentf6c147b9ae7d2d62cf765c0b91514a052209b591 (diff)
downloadvyos-build-16cc9be3ba331216392e988f20183ab8c4eda0ce.tar.gz
vyos-build-16cc9be3ba331216392e988f20183ab8c4eda0ce.zip
Separate files needed for different cloud providers
Fix serial console speed settings Add google cloud image generation
Diffstat (limited to 'tools')
-rw-r--r--tools/cloud-init/GCE/90_dpkg.cfg2
-rw-r--r--tools/cloud-init/GCE/config.boot.default (renamed from tools/cloud-init/config.boot.default)2
-rwxr-xr-xtools/cloud-init/azure/99-walinuxagent.chroot (renamed from tools/cloud-init/99-walinuxagent.chroot)0
-rw-r--r--tools/cloud-init/azure/config.boot.default30
-rw-r--r--tools/cloud-init/azure/vyos-azure.list.chroot (renamed from tools/cloud-init/vyos-azure.list.chroot)0
-rw-r--r--tools/cloud-init/cloud-init.list.chroot1
6 files changed, 34 insertions, 1 deletions
diff --git a/tools/cloud-init/GCE/90_dpkg.cfg b/tools/cloud-init/GCE/90_dpkg.cfg
new file mode 100644
index 00000000..ac4ffeae
--- /dev/null
+++ b/tools/cloud-init/GCE/90_dpkg.cfg
@@ -0,0 +1,2 @@
+# to update this file, run dpkg-reconfigure cloud-init
+datasource_list: [ GCE ]
diff --git a/tools/cloud-init/config.boot.default b/tools/cloud-init/GCE/config.boot.default
index 18f6ef09..a0cc398f 100644
--- a/tools/cloud-init/config.boot.default
+++ b/tools/cloud-init/GCE/config.boot.default
@@ -16,7 +16,7 @@ system {
}
console {
device ttyS0 {
- speed 9600
+ speed 38400
}
}
config-management {
diff --git a/tools/cloud-init/99-walinuxagent.chroot b/tools/cloud-init/azure/99-walinuxagent.chroot
index 1de525cf..1de525cf 100755
--- a/tools/cloud-init/99-walinuxagent.chroot
+++ b/tools/cloud-init/azure/99-walinuxagent.chroot
diff --git a/tools/cloud-init/azure/config.boot.default b/tools/cloud-init/azure/config.boot.default
new file mode 100644
index 00000000..296c690a
--- /dev/null
+++ b/tools/cloud-init/azure/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 115200
+ }
+ }
+ config-management {
+ commit-revisions 100
+ }
+}
+
+interfaces {
+ loopback lo {
+ }
+}
diff --git a/tools/cloud-init/vyos-azure.list.chroot b/tools/cloud-init/azure/vyos-azure.list.chroot
index 91320a59..91320a59 100644
--- a/tools/cloud-init/vyos-azure.list.chroot
+++ b/tools/cloud-init/azure/vyos-azure.list.chroot
diff --git a/tools/cloud-init/cloud-init.list.chroot b/tools/cloud-init/cloud-init.list.chroot
new file mode 100644
index 00000000..db064e62
--- /dev/null
+++ b/tools/cloud-init/cloud-init.list.chroot
@@ -0,0 +1 @@
+cloud-init