Projet

Général

Profil

Intégration complète

  • Installation dans /opt/clonezilla
cd /tmp
wget http://serveur_mirror/.../clonezilla-live-20140518-trusty-i386.zip
mkdir /opt/clonezilla
unzip /tmp/clonezilla-live-20140518-trusty-i386.zip
  • /etc/exports
/opt/clonezilla 192.168.0.0/255.255.255.0(ro,no_root_squash,async,no_subtree_check)
/home/machines/groups/default/ 192.168.0.0/255.255.255.0(ro,no_root_squash,async,no_subtree_check)
  • Fichier de boot pxe
DEFAULT vesamenu.c32
MENU INCLUDE messages/graphics.conf
TIMEOUT 50
TOTALTIMEOUT 9000

label abuledu
        kernel vmlinuz-3.13.0-24-generic
        append initrd=initrd.img-3.13.0-24-generic live-config boot=live noswap nolocales edd=on ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales="fr_FR.UTF-8" ip=frommedia nosplash noprompt netboot=nfs nfsroot=192.168.0.1:/opt/clonezilla/ ocs_server="192.168.0.1" ocs_daemonon="ssh" ocs_prerun="mount -t nfs 192.168.0.1:/home/machines/groups/default/ /home/partimag/" ocs_live_run="ocs-sr --language fr --batch -g auto -e1 auto -e2 -r -p reboot restoredisk imagegeneric-hp-250-seven-abuledu sda" 
  • Installation du kernel et de l'initrd
cd /opt/clonezilla
cp live/initrd.img /home/machines/tftpboot/initrd.img-3.13.0-24-generic
cp live/vmlinuz /home/machines/tftpboot/vmlinuz-3.13.0-24-generic

Sauvegarde

label abuledu
        kernel vmlinuz.clonezilla
        append initrd=initrd.img-3.13.0-24-generic live-config boot=live noswap nolocales edd=on ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales="fr_FR.UTF-8" ip=frommedia nosplash noprompt netboot=nfs nfsroot=192.168.10.1:/opt/clonezilla/ ocs_server="192.168.10.1" ocs_daemonon="ssh" ocs_prerun="mount -t nfs 192.168.10.1:/opt/ltsp44/i386 /mnt/" ocs_prerun1="mkdir /root/.ssh && cp /mnt/etc/ryxeo/poste-03/id_dsa /root/.ssh/ && chmod 700 /root/.ssh && chmod 600 /root/.ssh/id_dsa" ocs_prerun2="sshfs poste-03@servecole: /home/partimag -o port=2222 -o StrictHostKeyChecking=no -o transform_symlinks -o allow_root" ocs_live_run="ocs-sr -q2 -c -j2 -z1p -i 200000 -sc -p reboot savedisk nom-image-sauvegarde sda" 
Redmine Appliance - Powered by TurnKey Linux