... | ... | @@ -97,6 +97,13 @@ service xinetd start |
|
|
chkconfig xinetd on
|
|
|
```
|
|
|
|
|
|
- prepare root filesystem for server
|
|
|
|
|
|
```
|
|
|
yum -y --releasever=6.5 groupinstall "Base" "Server Platform" --installroot=/var/lib/tftpboot/computenode08/centos6/root/
|
|
|
yum -y install openssh-server openssh-clients --installroot=/var/lib/tftpboot/computenode08/centos6/root/
|
|
|
```
|
|
|
|
|
|
- set root password hash in "etc/shadow" of nodes filesystem from current hash
|
|
|
|
|
|
```
|
... | ... | @@ -117,15 +124,8 @@ proc /proc proc defaults 0 0 |
|
|
- generate kernel and ramfs
|
|
|
|
|
|
```
|
|
|
cp /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 /var/lib/tftpboot/computenode08/centos6/vmlinuz
|
|
|
dracut /var/lib/tftpboot/computenode08/centos6/vmlinuz/initramfs.img 2.6.32-71.29.1.el6.x86_64
|
|
|
```
|
|
|
|
|
|
### prepare root filesystem for server
|
|
|
|
|
|
```
|
|
|
yum -y --releasever=6.5 groupinstall "Base" "Server Platform" --installroot=/var/lib/tftpboot/computenode08/centos6/root/
|
|
|
yum -y install openssh-server openssh-clients --installroot=/var/lib/tftpboot/computenode08/centos6/root/
|
|
|
cp /boot/vmlinuz-2.6.32-431.29.2.el6.x86_64 /var/lib/tftpboot/computenode08/centos6/vmlinuz
|
|
|
dracut /var/lib/tftpboot/computenode08/centos6/vmlinuz/initramfs.img 2.6.32-431.29.2.el6.x86_64
|
|
|
```
|
|
|
|
|
|
## previous attempt
|
... | ... | |