Update to v1.32
This commit is contained in:
@ -49,12 +49,6 @@ prereqs() {
|
||||
source scripts/vars
|
||||
}
|
||||
|
||||
check_conf() {
|
||||
all_clusters=$(ls $ctxdir/clusters|wc -l)
|
||||
if [ "$all_clusters" != "1" ]; then
|
||||
perror "Those helper scripts are not capable of running several clusters at once, check your configuration. Aborting..."
|
||||
fi
|
||||
}
|
||||
|
||||
fresh_start() {
|
||||
rm -rf $ctxdir/secrets
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
prereqs_dls() {
|
||||
command -v docker 1>/dev/null || perror "Docker is needed, please install it and run again."
|
||||
systemctl is-active docker &>/dev/null || systemctl start docker
|
||||
docker pull $DLS_IMG
|
||||
}
|
||||
|
||||
dir2config() {
|
||||
|
||||
@ -60,7 +60,6 @@ run_qemu() {
|
||||
source $(dirname $0)/.common
|
||||
check_root
|
||||
prereqs
|
||||
check_conf
|
||||
#fresh_start
|
||||
trap clean SIGINT SIGTERM SIGKILL
|
||||
declare -A hosts
|
||||
|
||||
@ -40,8 +40,8 @@ checkup() {
|
||||
start_control_plane() {
|
||||
for host in ${!hosts[*]}; do
|
||||
sshcmd -q root@${hosts[$host]} << EOF
|
||||
if ls /etc/kubernetes/manifests.static/* &>/dev/null ; then
|
||||
mv /etc/kubernetes/manifests.static/* /var/lib/kubelet/manifests/
|
||||
if ls /etc/kubernetes/manifests.bootstrap/* &>/dev/null ; then
|
||||
mv /etc/kubernetes/manifests.bootstrap/* /var/lib/kubelet/manifests/
|
||||
fi
|
||||
EOF
|
||||
done
|
||||
@ -94,7 +94,6 @@ source $(dirname $0)/.common
|
||||
prereqs
|
||||
prereqs_control_plane
|
||||
prereqs_addons
|
||||
check_conf
|
||||
unlock_store
|
||||
declare -A hosts && get_hosts
|
||||
checkup
|
||||
|
||||
Reference in New Issue
Block a user