Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Replace virtualbmc with sushy-emulator"
[icn.git]
/
deploy
/
site
/
vm
/
vm.sh
diff --git
a/deploy/site/vm/vm.sh
b/deploy/site/vm/vm.sh
index
b35784d
..
3f3b3fb
100755
(executable)
--- a/
deploy/site/vm/vm.sh
+++ b/
deploy/site/vm/vm.sh
@@
-70,6
+70,10
@@
function insert_control_plane_network_identity_into_ssh_config {
# This enables logging into the control plane machines from this
# machine without specifying the identify file on the command line
# This enables logging into the control plane machines from this
# machine without specifying the identify file on the command line
+ if [[ ! $(which ipcalc) ]]; then
+ apt-get install -y ipcalc
+ fi
+
# Create ssh config if it doesn't exist
mkdir -p ${HOME}/.ssh && chmod 700 ${HOME}/.ssh
touch ${HOME}/.ssh/config
# Create ssh config if it doesn't exist
mkdir -p ${HOME}/.ssh && chmod 700 ${HOME}/.ssh
touch ${HOME}/.ssh/config