diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2013-08-04 12:02:41 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2013-08-04 12:02:41 +0200 |
commit | b337c57533fffa181cd99b6ff5dbf548cc9d866a (patch) | |
tree | 35b6fdbad08c93d3c93dd5a978a182481b7f6568 /README | |
parent | a739e818320423fb997eabeb0cbf921f691e4ba6 (diff) | |
download | centosauto-b337c57533fffa181cd99b6ff5dbf548cc9d866a.tar.gz centosauto-b337c57533fffa181cd99b6ff5dbf548cc9d866a.tar.bz2 |
made it work again
Diffstat (limited to 'README')
-rw-r--r-- | README | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -7,30 +7,30 @@ mkdir $PWD/tftproot/pxelinux.cfg cp -av var/www/html/* /var/www/html/. -mkdir -p /var/www/html/Centos/6.3/ +mkdir -p /var/www/html/Centos/6.4/ -wget -O tftproot/images/centos/6.3/i386/vmlinuz \ - http://swissmirror.silyus.net/centos/6.3/os/i386/images/pxeboot/vmlinuz -wget -O tftproot/images/centos/6.3/i386/initrd.img \ - http://swissmirror.silyus.net/centos/6.3/os/i386/images/pxeboot/initrd.img +wget -O tftproot/images/centos/6.4/x86_64/vmlinuz \ + http://mirror.switch.ch/ftp/mirror/centos/6.4/os/x86_64/images/pxeboot/vmlinuz +wget -O tftproot/images/centos/6.4/x86_64/initrd.img \ + http://mirror.switch.ch/ftp/mirror/centos/6.4/os/x86_64/images/pxeboot/initrd.img -qemu-img create centos6.img 32G +qemu-img create centos6.img 1G /usr/local/qemu-1.0.1/bin/qemu-system-x86_64 -hda centos6.img -net nic \ -net user,tftp=$PWD/tftproot,bootfile=pxelinux.0 -m 1024 -nographic \ -machine accel=kvm -redir tcp:2222::22 #local mirror of Centos files (HTTP): -wget 'http://swissmirror.silyus.net/centos/6.3/isos/x86_64/CentOS-6.3-x86_64-bin-DVD1.iso' -wget 'http://swissmirror.silyus.net/centos/6.3/isos/x86_64/CentOS-6.3-x86_64-bin-DVD2.iso' -mount -ro loop CentOS-6.3-x86_64-bin-DVD1.iso /mnt -mkdir -p /var/www/html/Centos/6.3/{os,updates,extras,centosplus,contrib}/x86_64 -rsync -avHPS /mnt/* /var/www/html/Centos/6.3/os/x86_64/ +wget 'http://mirror.switch.ch/ftp/mirror/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-bin-DVD1.iso' +wget 'http://mirror.switch.ch/ftp/mirror/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-bin-DVD2.iso' +mount -ro loop CentOS-6.4-x86_64-bin-DVD1.iso /mnt +mkdir -p var/www/html/Centos/6.4/{os,updates,extras,centosplus,contrib}/x86_64 +rsync -avHPS /mnt/* var/www/html/Centos/6.4/os/x86_64/ umount /mnt -mount -ro loop CentOS-6.3-x86_64-bin-DVD2.iso /mnt -rsync -avHPS /mnt/* /var/www/html/Centos/6.3/os/x86_64/ +mount -ro loop CentOS-6.4-x86_64-bin-DVD2.iso /mnt +rsync -avHPS /mnt/* var/www/html/Centos/6.4/os/x86_64/ umount /mnt +ln -s 6.4 var/www/html/Centos/6 ./sync_centos.sh -ln -s 6.3 /var/www/html/Centos/6 copy cfengine rpms to /var/www/html/cfengine |