projects
/
grml-terminalserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Boot terminalnodes with noprompt
[grml-terminalserver.git]
/
templates
/
grub-pxelinux_config
diff --git
a/templates/grub-pxelinux_config
b/templates/grub-pxelinux_config
index
e87b371
..
d224569
100644
(file)
--- a/
templates/grub-pxelinux_config
+++ b/
templates/grub-pxelinux_config
@@
-1,5
+1,3
@@
-#!/bin/sh i like colors :)
-#
# the following variables are available in the template:
#
# $INTERFACE_ (interface for the terminalserver)
# the following variables are available in the template:
#
# $INTERFACE_ (interface for the terminalserver)
@@
-21,9
+19,14
@@
# default boot arguments used for both grub and pxelinux
# default boot arguments used for both grub and pxelinux
-default_boot_args_="ramdisk_size=16384 root=/dev/ram0 rw \
+if [ -e '/live/cow' ]; then
+ default_boot_args_="root=/dev/nfs rw nfsroot=$IP_:$MOUNT_POINT_ \
+boot=live lang=us nomce quiet apm=power-off nodhcp noprompt noeject"
+else
+ default_boot_args_="ramdisk_size=24000 root=/dev/ram0 rw \
init=/etc/init nfsdir=$IP_:$MOUNT_POINT_ nodhcp noprompt noeject \
init=/etc/init nfsdir=$IP_:$MOUNT_POINT_ nodhcp noprompt noeject \
-apm=power-off nomce"
+apm=power-off nomce lang=us"
+fi
# special boot arguments required by grub
grub_def_boot_args_="/linux26 $default_boot_args_"
# special boot arguments required by grub
grub_def_boot_args_="/linux26 $default_boot_args_"
@@
-32,8
+35,8
@@
grub_def_boot_args_="/linux26 $default_boot_args_"
pxe_def_boot_args_="$default_boot_args_ initrd=minirt26.gz"
# default arguments for framebuffer console
pxe_def_boot_args_="$default_boot_args_ initrd=minirt26.gz"
# default arguments for framebuffer console
-def_fb_args_="v
ideo=vesafb:ypan,1024x768-16@60
"
-no_fb_args_="v
ideo=nofb
"
+def_fb_args_="v
ga=791
"
+no_fb_args_="v
ga=normal
"
###
## create grub config
###
## create grub config
@@
-116,12
+119,12
@@
APPEND $pxe_def_boot_args_ debuginit $def_fb_args_ $BOOT_ARGS_
LABEL debuginit
KERNEL linux26
APPEND $pxe_def_boot_args_ debuginit $no_fb_args_ $BOOT_ARGS_
LABEL debuginit
KERNEL linux26
APPEND $pxe_def_boot_args_ debuginit $no_fb_args_ $BOOT_ARGS_
-LABEL res
uc
e
+LABEL res
cu
e
KERNEL linux26
APPEND $pxe_def_boot_args_ $no_fb_args_
LABEL memtest
KERNEL memtest
KERNEL linux26
APPEND $pxe_def_boot_args_ $no_fb_args_
LABEL memtest
KERNEL memtest
-APPEND
initrd=
+APPEND
fix
EOT
EOT