Code Review
/
kuberef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add support for deploying to Equinix Metal bare-metal servers
[kuberef.git]
/
deploy.sh
diff --git
a/deploy.sh
b/deploy.sh
index
b45825c
..
88e746b
100755
(executable)
--- a/
deploy.sh
+++ b/
deploy.sh
@@
-52,13
+52,12
@@
copy_files_jump
# ---------------------------------------------------------------------
# Provision remote hosts
# ---------------------------------------------------------------------
# Provision remote hosts
-# ---------------------------------------------------------------------
-provision_hosts
-
-# ---------------------------------------------------------------------
# Setup networking (Adapt according to your network setup)
# ---------------------------------------------------------------------
# Setup networking (Adapt according to your network setup)
# ---------------------------------------------------------------------
-setup_network
+if [[ "$DEPLOYMENT" == "full" ]]; then
+ provision_hosts
+ setup_network
+fi
# ---------------------------------------------------------------------
# Provision k8s cluster (currently BMRA)
# ---------------------------------------------------------------------
# Provision k8s cluster (currently BMRA)