From 8406d520d7a7bea4060be8a00e360bcf413cb2d5 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Fri, 29 Dec 2023 17:57:59 +0100 Subject: [PATCH] feat: rewrite cloud-init config (#2853) ### Description Fix and update the could init config to install an insecure LibreTime server. --- cloud-init.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/cloud-init.yml b/cloud-init.yml index df175d29c7..c78e14fd60 100644 --- a/cloud-init.yml +++ b/cloud-init.yml @@ -1,20 +1,10 @@ -# Maintainer: Zachary Klosko (kloskoz@vcu.edu) - -hostname: libretimeTest -timezone: America/New York # change as needed -ntp: - pools: ["north-america.pool.ntp.org"] - servers: ["0.north-america.pool.ntp.org", "0.pool.ntp.org"] - -password: hackme -chpasswd: { expire: False } - +#cloud-config +package_update: true +package_upgrade: true packages: - git -apt_update: true -apt_upgrade: true -# Clone repo on init (Change repo url if needed) -# If you need to clone a branch, use git clone --branch branchname repourl runcmd: - - git clone https://github.com/libretime/libretime + - git clone https://github.com/libretime/libretime /root/libretime + - cd /root/libretime + - HOME=/root bash install "http://$(ip route get 8.8.8.8 | awk '{print $7}'):8080"