blob: 289b4e2d09e2ff89481442bafd85f0c28748350f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
if [ -n "bootcd/isolinux" ]; then
echo "1) Copy content of official CentOS boot CD to bootcd directory"
echo "2) Replace files provided in 'isolinux' directory"
exit
fi
(
cd bootcd
chmod 664 isolinux/isolinux.bin
rm -f ../centos74-ands.iso
mkisofs -o ../centos74-ands.iso -b isolinux/isolinux.bin -c boot.cat -no-emul-boot -V 'CentOS 7 x86_64' -boot-load-size 4 -boot-info-table -R -J -v -T .
)
scp centos74-ands.iso root@192.168.26.134:/virtual/images/
|