summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-11-29 08:47:05 +0000
committerramon <ramongomez@us.es>2010-11-29 08:47:05 +0000
commitb5aae72ae55c515cc2749adaac54f2312de9971c (patch)
treebd409a5c9aef6f95144b251719b8bcd5aee45934 /installer
parent61dbabb5f8b58224f847aa01a94da17be21eef70 (diff)
Creadas 2 plantillas PXE: modo "user" (por defecto) y modo "admin".
Modificados los nombres de scripts para gestiĆ³n de plantillas a {{{listclientmode}}} y {{{setclientmode}}}. Modificado instalador para copiar las plantillas y los scripts. Close #260. git-svn-id: https://opengnsys.es/svn/trunk@1352 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_installer.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 4107bc5b..e8741163 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -815,7 +815,8 @@ function openGnsysCopyServerFiles () {
client/boot/udeblist-karmic.conf \
client/boot/udeblist-lucid.conf \
client/boot/udeblist-maverick.conf \
- server/PXE/pxelinux.cfg/default \
+ server/PXE/pxelinux.cfg \
+ server/bin \
repoman/bin \
doc )
local TARGETS=( bin/initrd-generator \
@@ -825,7 +826,8 @@ function openGnsysCopyServerFiles () {
etc/udeblist-karmic.conf \
etc/udeblist-lucid.conf \
etc/udeblist-maverick.conf \
- tftpboot/pxelinux.cfg/default \
+ tftpboot/pxelinux.cfg \
+ bin \
bin \
doc )
@@ -841,7 +843,7 @@ function openGnsysCopyServerFiles () {
for (( i = 0; i < ${#SOURCES[@]}; i++ )); do
if [ -f "${SOURCES[$i]}" ]; then
echoAndLog "Copying ${SOURCES[$i]} to $path_opengnsys_base/${TARGETS[$i]}"
- cp -p "${SOURCES[$i]}" "${path_opengnsys_base}/${TARGETS[$i]}"
+ cp -a "${SOURCES[$i]}" "${path_opengnsys_base}/${TARGETS[$i]}"
elif [ -d "${SOURCES[$i]}" ]; then
echoAndLog "Copying content of ${SOURCES[$i]} to $path_opengnsys_base/${TARGETS[$i]}"
cp -a "${SOURCES[$i]}"/* "${path_opengnsys_base}/${TARGETS[$i]}"