summaryrefslogtreecommitdiffstats
path: root/server/ipxe
diff options
context:
space:
mode:
authorJannik Schönartz2019-04-08 05:17:38 +0200
committerJannik Schönartz2019-04-08 05:17:38 +0200
commitba5482abf1aa5c308f9f2d16748014335bc3444f (patch)
treec31fb5e493e699a2c70b3b7563ee38b3fb5dd010 /server/ipxe
parent[webapp/external-backends] Remove console logs. lul ^^ (diff)
downloadbas-ba5482abf1aa5c308f9f2d16748014335bc3444f.tar.gz
bas-ba5482abf1aa5c308f9f2d16748014335bc3444f.tar.xz
bas-ba5482abf1aa5c308f9f2d16748014335bc3444f.zip
[server/external-backends] Fix dhcp registration stuff
Diffstat (limited to 'server/ipxe')
-rw-r--r--server/ipxe/registration.ipxe8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/ipxe/registration.ipxe b/server/ipxe/registration.ipxe
index 621921d..1fe2217 100644
--- a/server/ipxe/registration.ipxe
+++ b/server/ipxe/registration.ipxe
@@ -10,7 +10,7 @@ set crosscert http://ca.ipxe.org/auto/
:start
menu Initializing client registration
item --key a automatic Automatic Registration
-item --key c customname Automatic Registration (Custom Name)
+item --key s semiautomatic Semi-Automatic Registration
item --key m manual Manual Registration
item --key k key Replace Secure Boot Keys
item --key l localboot Localboot
@@ -32,12 +32,10 @@ param automatic true
param client { "type": "CLIENT", "uuid": "${uuid}", "purpose": "Pool PC", "networks": [{ "ip": "${net0/ip}", "mac": "${net0/mac}" }] }
chain https://bas.intra.uni-freiburg.de/api/registration/clients##params
-:customname
-echo Enter client name
-read clientname
+:semiautomatic
params
param ipxe true
-param client { "name": "${clientname}", "type": "CLIENT", "uuid": "${uuid}", "purpose": "Pool PC", "networks": [{ "ip": "${net0/ip}", "mac": "${net0/mac}" }] }
+param client { "type": "CLIENT", "uuid": "${uuid}", "purpose": "Pool PC", "networks": [{ "ip": "${net0/ip}", "mac": "${net0/mac}" }] }
chain https://bas.intra.uni-freiburg.de/api/registration/clients##params
:manual