chore: add current provisioning state before migration

This commit is contained in:
Jesús Pérez 2025-09-22 23:11:41 +01:00
parent a9703b4748
commit 50745b0f22
660 changed files with 88126 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
RUN_PATH=$(dirname "$(dirname "$0")")
if [ -d "$RUN_PATH/resources/etcdcerts" ] ; then
rm -rf "$RUN_PATH/../wuji/resources/etcdcerts"
if cp -pr "$RUN_PATH/resources/etcdcerts" "$RUN_PATH/../wuji/resources/etcdcerts" ; then
echo "$RUN_PATH/resources/etcdcerts copied in $RUN_PATH/../wuji/resources/etcdcerts"
fi
fi