feat: tools

This commit is contained in:
Strix 2023-10-20 15:27:20 +02:00
parent 334924c3a9
commit ac6b592d7f
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
2 changed files with 7 additions and 2 deletions

View file

@ -4,7 +4,7 @@ hcloud context use ixvd
hcloud server create \ hcloud server create \
--image debian-12 \ --image debian-12 \
--type cx11 \ --type cpx11 \
--name link --name link
hcloud server create \ hcloud server create \

View file

@ -3,4 +3,9 @@
if ! [ -f "/etc/ixvd/version" ]; then if ! [ -f "/etc/ixvd/version" ]; then
echo "applying overlay..." echo "applying overlay..."
cp -r skel/. / cp -r skel/. /
fi fi
if [ -d "servers/$HOSTNAME/skel" ]; then
echo "applying server specific skeleton..."
cp -r servers/$HOSTNAME/skel/. /
fi