diff options
Diffstat (limited to 'tools/cloud-init')
-rwxr-xr-x | tools/cloud-init/99-debug-user.chroot | 17 | ||||
-rwxr-xr-x | tools/cloud-init/99-disable-networking.chroot | 3 | ||||
-rw-r--r-- | tools/cloud-init/GCE/90_dpkg.cfg | 2 | ||||
-rw-r--r-- | tools/cloud-init/GCE/config.boot.default | 31 | ||||
-rw-r--r-- | tools/cloud-init/GCE/config.boot.default-debug | 42 | ||||
-rw-r--r-- | tools/cloud-init/OCI/90_dpkg.cfg | 2 | ||||
-rw-r--r-- | tools/cloud-init/OCI/config.boot.default | 40 | ||||
-rw-r--r-- | tools/cloud-init/PACKET/90_dpkg.cfg | 8 | ||||
-rw-r--r-- | tools/cloud-init/PACKET/config.boot.default | 31 | ||||
-rw-r--r-- | tools/cloud-init/PACKET/config.boot.default-debug | 42 | ||||
-rwxr-xr-x | tools/cloud-init/azure/99-walinuxagent.chroot | 18 | ||||
-rw-r--r-- | tools/cloud-init/azure/config.boot.default | 31 | ||||
-rw-r--r-- | tools/cloud-init/azure/vyos-azure.list.chroot | 2 | ||||
-rw-r--r-- | tools/cloud-init/cloud-init.list.chroot | 2 | ||||
-rw-r--r-- | tools/cloud-init/openstack/90_dpkg.cfg | 7 | ||||
-rw-r--r-- | tools/cloud-init/openstack/config.boot.default | 40 | ||||
-rw-r--r-- | tools/cloud-init/vmware/90_dpkg.cfg | 3 | ||||
-rw-r--r-- | tools/cloud-init/vmware/config.boot.default | 30 |
18 files changed, 0 insertions, 351 deletions
diff --git a/tools/cloud-init/99-debug-user.chroot b/tools/cloud-init/99-debug-user.chroot deleted file mode 100755 index 354b46ab..00000000 --- a/tools/cloud-init/99-debug-user.chroot +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Script to add a user to Linux system -if [ $(id -u) -eq 0 ]; then - egrep "^debuguser" /etc/passwd >/dev/null - if [ $? -eq 0 ]; then - echo "$username exists!" - exit 1 - else - pass=$(perl -e 'print crypt($ARGV[0], "password")' debuguser) - useradd -m -p $pass debuguser - usermod -aG sudo debuguser - [ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!" - fi -else - echo "Only root may add a user to the system" - exit 2 -fi diff --git a/tools/cloud-init/99-disable-networking.chroot b/tools/cloud-init/99-disable-networking.chroot deleted file mode 100755 index e576c8a5..00000000 --- a/tools/cloud-init/99-disable-networking.chroot +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -systemctl disable networking -/usr/sbin/update-rc.d -f networking remove diff --git a/tools/cloud-init/GCE/90_dpkg.cfg b/tools/cloud-init/GCE/90_dpkg.cfg deleted file mode 100644 index ac4ffeae..00000000 --- a/tools/cloud-init/GCE/90_dpkg.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# to update this file, run dpkg-reconfigure cloud-init -datasource_list: [ GCE ] diff --git a/tools/cloud-init/GCE/config.boot.default b/tools/cloud-init/GCE/config.boot.default deleted file mode 100644 index 5af780a9..00000000 --- a/tools/cloud-init/GCE/config.boot.default +++ /dev/null @@ -1,31 +0,0 @@ -system { - host-name vyos - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - ntp { - server "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS0 { - speed 38400 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/GCE/config.boot.default-debug b/tools/cloud-init/GCE/config.boot.default-debug deleted file mode 100644 index a4f32062..00000000 --- a/tools/cloud-init/GCE/config.boot.default-debug +++ /dev/null @@ -1,42 +0,0 @@ -interfaces { - ethernet eth0 { - address dhcp - } -} -service { - ssh { - port 8022 - client-keepalive-interval 180 - } -} -system { - host-name vyos - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - ntp { - server "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS0 { - speed 38400 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/OCI/90_dpkg.cfg b/tools/cloud-init/OCI/90_dpkg.cfg deleted file mode 100644 index 0575be1e..00000000 --- a/tools/cloud-init/OCI/90_dpkg.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# to update this file, run dpkg-reconfigure cloud-init -datasource_list: [ Oracle ] diff --git a/tools/cloud-init/OCI/config.boot.default b/tools/cloud-init/OCI/config.boot.default deleted file mode 100644 index d5cb4c05..00000000 --- a/tools/cloud-init/OCI/config.boot.default +++ /dev/null @@ -1,40 +0,0 @@ -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 "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS0 { - speed 9600 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/PACKET/90_dpkg.cfg b/tools/cloud-init/PACKET/90_dpkg.cfg deleted file mode 100644 index 4f7bbd8c..00000000 --- a/tools/cloud-init/PACKET/90_dpkg.cfg +++ /dev/null @@ -1,8 +0,0 @@ -# to update this file, run dpkg-reconfigure cloud-init -datasource_list: [ Ec2 ] -datasource: - Ec2: - metadata_urls: ["https://metadata.packet.net"] - max_wait: 120 - timeout: 50 - strict_id: false diff --git a/tools/cloud-init/PACKET/config.boot.default b/tools/cloud-init/PACKET/config.boot.default deleted file mode 100644 index 1ceff6a3..00000000 --- a/tools/cloud-init/PACKET/config.boot.default +++ /dev/null @@ -1,31 +0,0 @@ -system { - host-name vyos - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - ntp { - server "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS1 { - speed 115200 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/PACKET/config.boot.default-debug b/tools/cloud-init/PACKET/config.boot.default-debug deleted file mode 100644 index 1b850568..00000000 --- a/tools/cloud-init/PACKET/config.boot.default-debug +++ /dev/null @@ -1,42 +0,0 @@ -interfaces { - ethernet eth0 { - address dhcp - } -} -service { - ssh { - port 8022 - client-keepalive-interval 180 - } -} -system { - host-name vyos - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - ntp { - server "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS1 { - speed 115200 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/azure/99-walinuxagent.chroot b/tools/cloud-init/azure/99-walinuxagent.chroot deleted file mode 100755 index 1de525cf..00000000 --- a/tools/cloud-init/azure/99-walinuxagent.chroot +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -echo I: Waagent / Cloud init - -# debug info: -#echo ForwardToConsole=yes >> /etc/systemd/journald.conf - -# dhcp issue on azure -sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' /etc/dhcp/dhclient.conf - -rm -f /etc/ssh/ssh_host_* -rm -f /var/log/waagent.log -rm -r /var/cache/apt/* -mkdir -p /var/cache/apt/archives -rm -r /var/lib/apt/lists/* - -# prevent systemd message flooding -echo ':msg, contains, "Time has been changed" ~' > /etc/rsyslog.d/time_msgs.conf diff --git a/tools/cloud-init/azure/config.boot.default b/tools/cloud-init/azure/config.boot.default deleted file mode 100644 index c3a0aa5d..00000000 --- a/tools/cloud-init/azure/config.boot.default +++ /dev/null @@ -1,31 +0,0 @@ -system { - host-name vyos - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - ntp { - server "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS0 { - speed 115200 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/azure/vyos-azure.list.chroot b/tools/cloud-init/azure/vyos-azure.list.chroot deleted file mode 100644 index 91320a59..00000000 --- a/tools/cloud-init/azure/vyos-azure.list.chroot +++ /dev/null @@ -1,2 +0,0 @@ -cloud-init -walinuxagent diff --git a/tools/cloud-init/cloud-init.list.chroot b/tools/cloud-init/cloud-init.list.chroot deleted file mode 100644 index a5eeb639..00000000 --- a/tools/cloud-init/cloud-init.list.chroot +++ /dev/null @@ -1,2 +0,0 @@ -cloud-init -cloud-guest-utils diff --git a/tools/cloud-init/openstack/90_dpkg.cfg b/tools/cloud-init/openstack/90_dpkg.cfg deleted file mode 100644 index 479924cf..00000000 --- a/tools/cloud-init/openstack/90_dpkg.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# to update this file, run dpkg-reconfigure cloud-init -datasource_list: [ NoCloud, ConfigDrive, OpenNebula, DigitalOcean, AltCloud, MAAS, OpenStack, CloudSigma, SmartOS, None ] -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 deleted file mode 100644 index d5cb4c05..00000000 --- a/tools/cloud-init/openstack/config.boot.default +++ /dev/null @@ -1,40 +0,0 @@ -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 "time1.vyos.net" - server "time2.vyos.net" - server "time3.vyos.net" - } - console { - device ttyS0 { - speed 9600 - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} diff --git a/tools/cloud-init/vmware/90_dpkg.cfg b/tools/cloud-init/vmware/90_dpkg.cfg deleted file mode 100644 index f9c9cba0..00000000 --- a/tools/cloud-init/vmware/90_dpkg.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# to update this file, run dpkg-reconfigure cloud-init -datasource_list: [ OVF ] -disable_vmware_customization: false diff --git a/tools/cloud-init/vmware/config.boot.default b/tools/cloud-init/vmware/config.boot.default deleted file mode 100644 index 8b7cdae5..00000000 --- a/tools/cloud-init/vmware/config.boot.default +++ /dev/null @@ -1,30 +0,0 @@ -system { - host-name vyos - login { - user vyos { - authentication { - encrypted-password $6$QxPS.uk6mfo$9QBSo8u1FkH16gMyAVhus6fU3LOzvLR9Z9.82m3tiHFAxTtIkhaZSWssSgzt4v4dGAL8rhVQxTg0oAG9/q11h/ - plaintext-password "" - } - level admin - } - } - syslog { - global { - facility all { - level info - } - facility protocols { - level debug - } - } - } - config-management { - commit-revisions 100 - } -} - -interfaces { - loopback lo { - } -} |