feat: tools
This commit is contained in:
parent
334924c3a9
commit
ac6b592d7f
2 changed files with 7 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue