summaryrefslogtreecommitdiffstats
path: root/server/lib/confighelper.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/confighelper.js')
-rw-r--r--server/lib/confighelper.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/confighelper.js b/server/lib/confighelper.js
index 6e6f152..2472e97 100644
--- a/server/lib/confighelper.js
+++ b/server/lib/confighelper.js
@@ -181,7 +181,7 @@ async function prepareConfig (configInfo, noScript) {
var menuscript = ''
script += '#!ipxe\r\n\r\n'
script += 'set img https://bas.intra.uni-freiburg.de/files/ipxe_wallpaper.png || goto start\r\n'
- script += `console --picture \${img} --x 800 --y 600 ||\r\n\r\n`
+ script += `console --picture \${img} --x 800 --y 600 || console --x 1024 --y 768 ||\r\n\r\n`
script += ':start\r\n'
script += 'menu ' + config.name + '\r\n'
config.entries.forEach(entry => {
@@ -248,7 +248,7 @@ async function _createDynamicMenu (configInfos, noScript) {
var defaultentry = ''
script += '#!ipxe\r\n\r\n'
script += 'set img https://bas.intra.uni-freiburg.de/files/ipxe_wallpaper.png || goto start\r\n'
- script += `console --picture \${img} --x 800 --y 600 ||\r\n\r\n`
+ script += `console --picture \${img} --x 800 --y 600 || console --x 1024 --y 768 ||\r\n\r\n`
script += ':start\r\n'
script += 'menu ' + 'Choose one configuration to boot' + '\r\n'
configs.forEach(config => {
@@ -276,7 +276,7 @@ async function _createDynamicMenu (configInfos, noScript) {
function getDefaultConfig (client) {
let script = '#!ipxe\r\n\r\n'
script += 'set img https://bas.intra.uni-freiburg.de/files/ipxe_wallpaper.png || goto start\r\n'
- script += `console --picture \${img} --x 800 --y 600 ||\r\n\r\n`
+ script += `console --picture \${img} --x 800 --y 600 || console --x 1024 --y 768 ||\r\n\r\n`
script += ':start\r\n'
script += 'menu ' + 'Client is successfully registered' + '\r\n'
script += 'item --gap BAS-ID: ' + client.id + '\r\n'