Flux install of compute cluster
[icn.git] / tools / vagrant / add_machine_to_vbmc.sh
index 5676a7b..86b3cd4 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/bash
 set -eu -o pipefail
 
-index=$1
-site=$2
-name=$3
+site=$1
+name=$2
+port=$3
 
-vbmc --no-daemon add ${site}-${name} --port $((6230+index-1)) --libvirt-uri "qemu:///system?&no_verify=1&no_tty=1"
+vbmc --no-daemon add ${site}-${name} --port ${port} --libvirt-uri "qemu:///system?&no_verify=1&no_tty=1"
 vbmc --no-daemon start ${site}-${name}