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