From ac6b592d7f52b7e4e4b5d9585932b472f6336b4c Mon Sep 17 00:00:00 2001 From: Raine Date: Fri, 20 Oct 2023 15:27:20 +0200 Subject: [PATCH] feat: tools --- tools/hetzner/order-servers.sh | 2 +- tools/setup/00-apply-skel.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/hetzner/order-servers.sh b/tools/hetzner/order-servers.sh index 6f7142f..37eec65 100644 --- a/tools/hetzner/order-servers.sh +++ b/tools/hetzner/order-servers.sh @@ -4,7 +4,7 @@ hcloud context use ixvd hcloud server create \ --image debian-12 \ - --type cx11 \ + --type cpx11 \ --name link hcloud server create \ diff --git a/tools/setup/00-apply-skel.sh b/tools/setup/00-apply-skel.sh index 2f78c04..d630276 100644 --- a/tools/setup/00-apply-skel.sh +++ b/tools/setup/00-apply-skel.sh @@ -3,4 +3,9 @@ if ! [ -f "/etc/ixvd/version" ]; then echo "applying overlay..." cp -r skel/. / -fi \ No newline at end of file +fi + +if [ -d "servers/$HOSTNAME/skel" ]; then + echo "applying server specific skeleton..." + cp -r servers/$HOSTNAME/skel/. / +fi