136 | | }}} |
137 | | |
138 | | |
139 | | === Server pxe external === |
140 | | |
141 | | 1. Copy files initrd and linux from /var/lib/tftpboot to server pxe external. |
142 | | 1. Copy or integrate the initrd linux parameters (/var/lib/tftpboot/pxelinux.cfg/default), also including the parameter repo=xxx.xxx.xxx.xxx. to server pxe external. (where xxx.xxx.xxx.xxx is the OpenGnSys server ip) |
| 128 | filename "grldr"; |
| 129 | }}} |
| 130 | |
| 131 | If you wish to coexist some servers, you can specify with differents next-server lines in differents groups. |
| 132 | |
| 133 | To change the server of a client, you only have to cut/paste client from one group to another. |
| 134 | |
| 135 | {{{ |
| 136 | group { |
| 137 | next-server [ip_servidor_1]; |
| 138 | host pc1 { |
| 139 | option host-name "xxx.es"; |
| 140 | hardware ethernet xx:xx:xx:xx:xx:xx; |
| 141 | fixed-address xxx.xxx.xxx.xxx; |
| 142 | filename "grldr"; |
| 143 | } |
| 144 | host pc2 .... |
| 145 | } |
| 146 | group { |
| 147 | next-server [ip_servidor_2]; |
| 148 | host pc3 { |
| 149 | option host-name "xxx.es"; |
| 150 | hardware ethernet xx:xx:xx:xx:xx:xx; |
| 151 | fixed-address xxx.xxx.xxx.xxx; |
| 152 | filename "grldr"; |
| 153 | } |
| 154 | host pc4 ... |
| 155 | } |
| 156 | }}} |
| 157 | |
| 158 | If you want to used PXELinux, you should be replaced {{{filename}}} to configure DHCP with PXELinux: |
| 159 | {{{ |
| 160 | filename "pxelinux.0"; |
| 161 | }}} |
| 162 | Also, for compatibility with PXELinux, Web Console Admin Server should be referenced to the boot appropiate process, including the next simbolic link: |
| 163 | |
| 164 | {{{ |
| 165 | sudo ln -fs /opt/opengnsys/www/principal/boot_pxelinux.php boot.php |
| 166 | }}} |
| 167 | |