diff --git a/net/net.sh b/net/net.sh index 000cf9f9415d33..aaaf964207b1de 100755 --- a/net/net.sh +++ b/net/net.sh @@ -181,7 +181,7 @@ build() { buildVariant= if $debugBuild; then - buildVariant=debug + buildVariant=--debug fi $MAYBE_DOCKER bash -c " @@ -862,6 +862,10 @@ while getopts "h?T:t:o:f:rc:Fn:i:d" opt "${shortArgs[@]}"; do releaseChannel=$OPTARG deployMethod=tar ;; + local) + # just pass-through to use default values for $deployMethod and $doBuild + true + ;; *) usage "Invalid release channel: $OPTARG" ;; diff --git a/net/remote/remote-node.sh b/net/remote/remote-node.sh index 897a0ec2307c9d..ab071485fafc11 100755 --- a/net/remote/remote-node.sh +++ b/net/remote/remote-node.sh @@ -283,8 +283,12 @@ EOF --entrypoint "$entrypointIp:8001" --gossip-port 8001 --rpc-port 8899 - --expected-shred-version "$(cat config/shred-version)" ) + if [[ -f config/shred-version && -s config/shred-version ]]; then + args+=( + --expected-shred-version "$(cat config/shred-version)" + ) + fi if [[ $nodeType = blockstreamer ]]; then args+=( --blockstream /tmp/solana-blockstream.sock @@ -374,6 +378,7 @@ cat >> ~/solana/on-reboot <> ~/solana/on-reboot <