... | ... | @@ -128,6 +128,24 @@ cp /boot/vmlinuz-2.6.32-431.29.2.el6.x86_64 /var/lib/tftpboot/computenode08/cent |
|
|
dracut /var/lib/tftpboot/computenode08/centos6/initramfs.img 2.6.32-431.29.2.el6.x86_64
|
|
|
```
|
|
|
|
|
|
- prepare bootstrap information
|
|
|
|
|
|
```
|
|
|
cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/computenode08/
|
|
|
touch /var/lib/tftpboot/computenode08/pxelinux.cfg/default
|
|
|
```
|
|
|
|
|
|
- edit boot entry in "/var/lib/tftpboot/computenode08/pxelinux.cfg/default"
|
|
|
|
|
|
```
|
|
|
# create new
|
|
|
default centos6
|
|
|
|
|
|
label centos6
|
|
|
kernel centos6/vmlinuz
|
|
|
append initrd=centos6/initramfs.img root=nfs:10.1.1.12:/var/lib/tftpboot/computenode08/centos6/root rw selinux=0 lowres ip=dhcp
|
|
|
```
|
|
|
|
|
|
## previous attempt
|
|
|
- saved computenode12 MAC addresses in a txt file
|
|
|
- powered down node 12 and set boot to pxe
|
... | ... | |