diff --git a/net/net.sh b/net/net.sh index 04d63aed6e..cd92e33a29 100755 --- a/net/net.sh +++ b/net/net.sh @@ -43,6 +43,7 @@ Operate a configured testnet stopnode - Stop an individual node startclients - Start client nodes only update - Deploy a new software update to the cluster + upgrade - Upgrade software on bootstrap validator. (Restart bootstrap validator manually to run it) start-specific options: -T [tarFilename] - Deploy the specified release tarball @@ -981,6 +982,12 @@ stop) update) deployUpdate ;; +upgrade) + bootstrapValidatorIp="${validatorIpList[0]}" + prepareDeploy + deployBootstrapValidator "$bootstrapValidatorIp" + # (start|stop)Node need refactored to support restarting the bootstrap validator + ;; stopnode) if [[ -z $nodeAddress ]]; then usage "node address (-i) not specified"