summaryrefslogtreecommitdiff
path: root/tools/cloud-init/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cloud-init/openstack')
-rw-r--r--tools/cloud-init/openstack/90_dpkg.cfg8
-rw-r--r--tools/cloud-init/openstack/config.boot.default40
2 files changed, 48 insertions, 0 deletions
diff --git a/tools/cloud-init/openstack/90_dpkg.cfg b/tools/cloud-init/openstack/90_dpkg.cfg
new file mode 100644
index 0000000..a740b31
--- /dev/null
+++ b/tools/cloud-init/openstack/90_dpkg.cfg
@@ -0,0 +1,8 @@
+# to update this file, run dpkg-reconfigure cloud-init
+datasource_list: [ NoCloud, ConfigDrive, OpenNebula, DigitalOcean, AltCloud, MAAS, OpenStack, CloudSigma, SmartOS, None ]
+disable_ec2_metadata: true
+datasource:
+ OpenStack:
+ max_wait: 6
+ timeout: 3
+ retries: 2
diff --git a/tools/cloud-init/openstack/config.boot.default b/tools/cloud-init/openstack/config.boot.default
new file mode 100644
index 0000000..de724f0
--- /dev/null
+++ b/tools/cloud-init/openstack/config.boot.default
@@ -0,0 +1,40 @@
+system {
+ host-name vyos
+ login {
+ user vyos {
+ authentication {
+ encrypted-password "*"
+ plaintext-password ""
+ }
+ level admin
+ }
+ }
+ 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 {
+ }
+}