Browse Source

spot price hard code

master
Jeff Moe 10 months ago
parent
commit
4de6f9a351
  1. 5
      eqx-create-device

5
eqx-create-device

@ -1,4 +1,4 @@
#!/bin/bash
# eqx-cluster-create
#
# Create a cluster of bare metal on Equinix.
@ -28,7 +28,8 @@ EQXSPOTOVER=".02"
# Probably leave these variables alone
# Set max price at current spot plus EQXSPOTOVER from above
EQXSPOT="`eqx-market-spot-prices`"
# XXX spot device/facility is hard coded in other script
EQXSPOT="`eqx-market-spot-price`"
EQXSPOTMAX=`echo "$EQXSPOT + $EQXSPOTOVER" | bc -l | xargs printf "%1.2f"`
EQXPROJECT="$1"
if [[ $1 == "" ]]

Loading…
Cancel
Save