Skip to content

Commit

Permalink
script: Restore MetalK8s configuration before checking local node
Browse files Browse the repository at this point in the history
For some check we do in "check local node" we need some information from
the bootstrap configuration (e.g.: Service cidr) so we need to restore
this bootstrap configuration before launching the "check local node"
  • Loading branch information
TeddyAndrieux committed Feb 11, 2021
1 parent 016bea0 commit 6bd2434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/restore.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,11 @@ run "Stopping Salt minion service" stop_salt_minion_service
run "Configuring local repositories" configure_repositories
run "Installing mandatory packages" install_packages "${PACKAGES[@]}"
run "Configuring Salt minion to run in local mode" configure_salt_minion_local_mode
run "Checking local node" check_local_node

run "Restoring MetalK8s configurations" restore_metalk8s_conf

run "Checking local node" check_local_node

run "Restoring CAs certificates and keys" restore_cas
run "Configuring salt-master" configure_salt_master
run "Pushing CAs to salt mine" push_cas
Expand Down

0 comments on commit 6bd2434

Please sign in to comment.