|
|
|
@ -16,6 +16,7 @@
|
|
|
|
|
#set -x
|
|
|
|
|
|
|
|
|
|
# Set static variables here
|
|
|
|
|
EQXIPXEURL="http://145.40.77.103/eqx/ipxe"
|
|
|
|
|
EQXFACILITY="da11"
|
|
|
|
|
EQXOS="debian_10"
|
|
|
|
|
EQXPLAN="c3.small.x86"
|
|
|
|
@ -53,12 +54,12 @@ packet device create \
|
|
|
|
|
--facility "$EQXFACILITY" \
|
|
|
|
|
--hostname "$EQXHOSTNAME" \
|
|
|
|
|
--operating-system "$EQXOS" \
|
|
|
|
|
--ipxe-script-url "$EQXIPXEURL" \
|
|
|
|
|
--tags "$EQXTAGS"
|
|
|
|
|
|
|
|
|
|
exit
|
|
|
|
|
-c, --customdata string Custom data
|
|
|
|
|
-r, --hardware-reservation-id string UUID of the hardware reservation
|
|
|
|
|
-i, --ipxe-script-url string URL to the iPXE script
|
|
|
|
|
-v, --public-ipv4-subnet-size int Size of the public IPv4 subnet
|
|
|
|
|
-T, --termination-time string Device termination time: --termination-time="15:04:05"
|
|
|
|
|
-u, --userdata string Userdata for device initialization (can not be used with --userdata-file)
|
|
|
|
|