[root@testserver14 work]# livecd-iso-to-pxeboot /tmp/CentOS-7-x86_64-LiveGNOME.iso
[root@testserver18 tftpboot]# ll tftpboot total 1216836 -rw-r--r-- 1 root root 1239615065 Aug 3 09:39 initrd0.img -rw-r--r-- 1 root root 26748 Aug 3 09:39 pxelinux.0 drwxr-xr-x 2 root root 4096 Aug 3 10:02 pxelinux.cfg -r--r--r-- 1 root root 5158704 Aug 3 09:39 vmlinuz0
[root@testserver18 tftpboot]# mount -o loop CentOS-7-x86_64-LiveGNOME.iso /mnt/loop/
[root@testserver18 tftpboot]# cobbler import --path=/mnt/loop/ --name=CentOS7-x86_64-LiveGNOME
[root@testserver18 tftpboot]# ll /var/www/cobbler/ks_mirror/CentOS7-x86_64-LiveGNOME/ total 16 dr-xr-xr-x 3 root root 4096 Jul 5 22:27 EFI dr-xr-xr-x 2 root root 4096 Jul 5 22:27 isolinux dr-xr-xr-x 2 root root 4096 Jul 5 22:28 LiveOS
[root@testserver18 ~]# mv /tmp/tftpboot/ /var/www/cobbler/ks_mirror/CentOS7-x86_64-LiveGNOME/tftpboot-by-livecd-tools/
[root@testserver18 tftpboot]# cd /tftpboot/images/ [root@testserver18 images]# mkdir -p CentOS7-x86_64-LiveGNOME [root@testserver18 images]# cd CentOS7-x86_64-LiveGNOME [root@testserver18 CentOS7-x86_64-LiveGNOME]# cp -p /var/www/cobbler/ks_mirror/CentOS7-x86_64-LiveGNOME/tftpboot-by-livecd-tools/initrd0.img initrd0.img [root@testserver18 CentOS7-x86_64-LiveGNOME]# cp -p /var/www/cobbler/ks_mirror/CentOS7-x86_64-LiveGNOME/tftpboot-by-livecd-tools/vmlinuz0 vmlinuz0
[root@testserver18 ~]# cd /tftpboot/pxelinux.cfg/ [root@testserver18 pxelinux.cfg]# vim 01-00-0c-29-41-04-c1 default linux prompt 0 timeout 1 label linux kernel /images/CentOS7-x86_64-LiveGNOME/vmlinuz0 ipappend 2 append initrd=/images/CentOS7-x86_64-LiveGNOME/initrd0.img ksdevice=bootif lang= kssendmac root=live:/CentOS-7-x86_64-LiveGNOME.iso rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0