parent
51bf754234
commit
11a6eafe60
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# eqx-market-spot-prices
|
||||||
|
|
||||||
|
EQXTOKEN=`cat ~/.packet-cli.json | jq ".token" --raw-output`
|
||||||
|
|
||||||
|
curl \
|
||||||
|
--silent \
|
||||||
|
-X GET \
|
||||||
|
--header 'Accept: application/json' \
|
||||||
|
--header "X-Auth-Token: ${EQXTOKEN}" \
|
||||||
|
'https://api.equinix.com/metal/v1/market/spot/prices' | \
|
||||||
|
jq '.spot_market_prices.da11."c3.small.x86".price'
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
kernel https://boot.netboot.xyz/memdisk iso raw
|
||||||
|
initrd https://gemmei.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-10.7.0-amd64-netinst.iso
|
||||||
|
boot
|
||||||
|
|
Loading…
Reference in new issue