From 2d7c7898584ae864c7ca637b2435e6fd0519fdd7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 24 Jan 2021 00:13:50 -0700 Subject: [PATCH] add iPXE url for node creation --- eqx-create-device | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eqx-create-device b/eqx-create-device index 593b91b..b324143 100755 --- a/eqx-create-device +++ b/eqx-create-device @@ -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)