Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/pxeconfig/mcore-pxeconfig.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2784 by niro, Wed Feb 10 15:29:02 2016 UTC revision 2785 by niro, Wed Feb 17 10:22:09 2016 UTC
# Line 29  create_pxe_config() Line 29  create_pxe_config()
29   do   do
30   evaluate_table_xml client_locations "where location='${loc}'"   evaluate_table_xml client_locations "where location='${loc}'"
31    
32     # fallback to honor old database versions in transition phase of the upgrade
33     if [[ -z ${client_locations_bootserver} ]] || [[ ${client_locations_bootserver} = NULL ]]
34     then
35     client_locations_bootserver="${client_locations_controlserver}"
36     fi
37    
38   sed \   sed \
39   -e "s:@@DEFAULTENTRY@@:${client_locations_pxe_default_entry}:g" \   -e "s:@@DEFAULTENTRY@@:${client_locations_pxe_default_entry}:g" \
40   -e "s:@@TIMEOUT@@:${client_locations_pxe_timeout}:g" \   -e "s:@@TIMEOUT@@:${client_locations_pxe_timeout}:g" \
41   -e "s:@@PROMPT@@:${client_locations_pxe_prompt}:g" \   -e "s:@@PROMPT@@:${client_locations_pxe_prompt}:g" \
42     -e "s:@@BOOTSERVER@@:${client_locations_bootserver}:g" \
43   -e "s:@@CONTROLSERVER@@:${client_locations_controlserver}:g" \   -e "s:@@CONTROLSERVER@@:${client_locations_controlserver}:g" \
44   -e "s:@@LOCATION@@:${client_locations_location}:g" \   -e "s:@@LOCATION@@:${client_locations_location}:g" \
45   \   \

Legend:
Removed from v.2784  
changed lines
  Added in v.2785