Difference between revisions of "ERPXE:Advanced scripts"

From ERPXE Wiki
Line 3: Line 3:
 
===configure.sh===
 
===configure.sh===
 
Help configure the services needed for ERPXE: http, tftp, samba, etc. Consider this file as '''RISKY''' and only for '''EXPERTS'''. Currently for CentOS 6.x only.
 
Help configure the services needed for ERPXE: http, tftp, samba, etc. Consider this file as '''RISKY''' and only for '''EXPERTS'''. Currently for CentOS 6.x only.
 +
  
 
===create_links.sh===
 
===create_links.sh===
 
You are advices to run this script after the installation of ERPXE on linux based systems. This script will create several sym-links to help speed up ERPXE loading for clients.
 
You are advices to run this script after the installation of ERPXE on linux based systems. This script will create several sym-links to help speed up ERPXE loading for clients.
 +
  
 
===ip2hex.sh===
 
===ip2hex.sh===
 
Small script helps you create a symlink inside /tftpboot/pxelinux.pxe to speed up pxelinux.0 loading for your subnet. 192.x.x.x, 10.x.x.x are created by default by create_links.sh
 
Small script helps you create a symlink inside /tftpboot/pxelinux.pxe to speed up pxelinux.0 loading for your subnet. 192.x.x.x, 10.x.x.x are created by default by create_links.sh
 +
  
 
===reset_permissions.sh===
 
===reset_permissions.sh===
 
Reset all permissions in /tftpboot to default.
 
Reset all permissions in /tftpboot to default.

Revision as of 19:38, 28 September 2013

As of ERPXE 1.2, a bin folder was added. we have started to work on several bash scripts to help you maintain ERPXE.

configure.sh

Help configure the services needed for ERPXE: http, tftp, samba, etc. Consider this file as RISKY and only for EXPERTS. Currently for CentOS 6.x only.


create_links.sh

You are advices to run this script after the installation of ERPXE on linux based systems. This script will create several sym-links to help speed up ERPXE loading for clients.


ip2hex.sh

Small script helps you create a symlink inside /tftpboot/pxelinux.pxe to speed up pxelinux.0 loading for your subnet. 192.x.x.x, 10.x.x.x are created by default by create_links.sh


reset_permissions.sh

Reset all permissions in /tftpboot to default.