summaryrefslogtreecommitdiffstats
path: root/boot-env/preboot/preboot.sh
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-05-22 19:27:30 +0200
committerSebastian Schmelzer2009-05-22 19:27:30 +0200
commit3eb541251dedf796307d33b195f2510d506626a7 (patch)
treeee229e4c066aba6424f72f3496f0991a9d42a40c /boot-env/preboot/preboot.sh
parentuse dialog menus instead of radioboxes (diff)
downloadcore-3eb541251dedf796307d33b195f2510d506626a7.tar.gz
core-3eb541251dedf796307d33b195f2510d506626a7.tar.xz
core-3eb541251dedf796307d33b195f2510d506626a7.zip
add apache config; minor path changes
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2865 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/preboot/preboot.sh')
-rwxr-xr-xboot-env/preboot/preboot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot-env/preboot/preboot.sh b/boot-env/preboot/preboot.sh
index 00e358ba..9ec9e90d 100755
--- a/boot-env/preboot/preboot.sh
+++ b/boot-env/preboot/preboot.sh
@@ -38,8 +38,8 @@ w3m -o confirm_qq=no \
chvt 1
# fetch kernel and initramfs of selected system
-wget -O /tmp/kernel $boot_uri/system/$kernel
-wget -O /tmp/initramfs $boot_uri/system/$initramfs
+wget -O /tmp/kernel $boot_uri/$kernel
+wget -O /tmp/initramfs $boot_uri/$initramfs
# read primary IP configuration to pass it on
. /tmp/ipstuff
@@ -47,5 +47,5 @@ wget -O /tmp/initramfs $boot_uri/system/$initramfs
# start the new kernel with initialramfs and composed cmdline
echo "Booting OpenSLX client $label ..."
kexec -l /tmp/kernel --initrd=/tmp/initramfs \
- --append="$append file=$boot_uri/preboot/${preboot_id}/client-config/${sysname}/${client}.tgz $quiet ip=$ip:$siaddr:$router:$subnet:$dnssrv debug=3"
+ --append="$append file=$boot_uri/${preboot_id}/client-config/${sysname}/${client}.tgz $quiet ip=$ip:$siaddr:$router:$subnet:$dnssrv debug=3"
kexec -e