====== Клонирование рабочих станций слушателей ====== [[http://www.fogproject.org/]] [[http://drbl.sourceforge.net/]] ===== PXE Clonezilla ===== ==== Ubuntu ==== # apt-get install atftpd # mount -t iso9660 /dev/cdrom /cdrom/ # export D=/srv/tftp/ ==== FreeBSD ==== # grep tftp /etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot # mkdir /tftpboot # mount /cdrom/ # setenv D /tftpboot/ ==== FreeBSD/Ubuntu ==== # cp -r /cdrom/install/netboot/* $D # unzip -j clonezilla-live-20100721-lucid.zip live/vmlinuz live/initrd.img live/filesystem.squashfs -d $D # cat $D/pxelinux.cfg/default ... label Clonezilla Live MENU LABEL Clonezilla Live kernel vmlinuz append initrd=initrd.img boot=live union=aufs noswap noprompt vga=788 fetch=tftp://172.16.1.254/filesystem.squashfs ==== Ubuntu ==== # apt-get install dhcp3-server # cat /etc/default/dhcp3-server INTERFACES="eth0" # cd /etc/dhcp3/ ==== FreeBSD ==== # pkg_add -r isc-dhcp31-server # cd /usr/local/etc/ ==== FreeBSD/Ubuntu ==== # cat dhcpd.conf ddns-update-style none; log-facility local7; subnet 172.16.1.0 netmask 255.255.255.0 { range 172.16.1.70 172.16.1.99; option routers 172.16.1.254; filename "pxelinux.0"; next-server 172.16.1.254; default-lease-time 600; max-lease-time 7200; } # mkdir /home/partimag