From 4de6f9a351b483ec19589b9a534fa88da21c6ba8 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 10 Feb 2021 11:55:11 -0700 Subject: [PATCH] spot price hard code --- eqx-create-device | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eqx-create-device b/eqx-create-device index e51782a..9a7fc5b 100755 --- a/eqx-create-device +++ b/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 == "" ]]