|
|
[root@shlinux root]# ls -ld /tftpboot/
drwxrwxrwx 3 root root 4096 Nov 7 15:16 /tftpboot//
[root@shlinux tftpboot]# ls -l
total 3016
-rwxrwxrwx 1 root root 364 Oct 21 19:47 boot.msg*
-rwxrwxrwx 1 root root 1026 Oct 21 19:47 general.msg*
-rwxrwxrwx 1 root root 2148969 Nov 7 13:59 initrd.img*
-rwxrwxrwx 1 root root 660 Oct 21 19:47 options.msg*
-rwxrwxrwx 1 root root 869 Oct 21 19:47 param.msg*
-rwxrwxrwx 1 root root 11822 Oct 21 19:29 pxelinux.0*
drwxrwxrwx 2 root root 4096 Nov 7 17:13 pxelinux.cfg/
-rwxrwxrwx 1 root root 557 Oct 21 19:47 rescue.msg*
-rwxrwxrwx 1 root root 549 Oct 21 19:47 snake.msg*
-rwxrwxrwx 1 root root 888750 Nov 7 14:20 vmlinuz*
[root@shlinux tftpboot]# cd pxelinux.cfg
[root@shlinux pxelinux.cfg]# ls -il
total 8
130053 -rwxrwxrwx 1 root root 134 Nov 7 17:13 C0A80765*
130065 -rwxr-xr-x 1 root root 435 Nov 7 14:55 default*
[root@shlinux pxelinux.cfg]# cat C0A80765
default install
prompt 1
timeout 600
LABEL install
kernel vmlinuz
append ip=dhcp initrd=initrd.img devfs=nomount ramdisk_size=163840
[root@shlinux pxelinux.cfg]# chkconfig --list | grep tftp
tftp: on
[root@shlinux pxelinux.cfg]# exportfs
/public/public/rhas
192.168.7.0/255.255.255.0
/public/public/rhas
192.168.1.0/255.255.255.0 |
|