Cobbler déploiement Debian

Debian

mount /home/debian-8.7.1-amd64-DVD-1.iso /mnt/iso cobbler import --name=debian --path=/mnt/iso --breed=debian --os-version=jessie --arch=x86_64 cobbler sync cobbler profile copy --name=debian-x86_64 --newname=debian-x86_64_custom cobbler profile edit --name debian-x86_64_custom --virt-type=kvm --virt-bridge=virbr0 \ --kopts="debian-installer/allow_unauthenticated=true console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 ipv6.disable=1 vga=0x317" \ --kopts-post="console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 ipv6.disable=1 vga=0x317" \ --virt-file-size=30 --virt-ram=2048 cobbler system add --profile=debian-x86_64_custom --name=debtest1 --mac=52:54:00:DD:EE:FF --interface=eth0 --virt-type=kvm #--virt-file-size=30 --virt-ram=2048 cd wget http://ftp.fr.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/netboot.tar.gz cd /var/www/cobbler/links/debian-x86_64/install/ mkdir netboot cd netbook tar xvf ~/netboot.tar.gz
[general] family = Debian timestamp = 1272326522.13 totaldiscs = 1 version = 8 discnum = 1 packagedir = dists arch = x86_64 [images-x86_64] kernel = install/netboot/debian-installer/amd64/linux initrd = install/netboot/debian-installer/amd64/initrd.gz
cobbler repo copy --name=debian-x86_64 --newname=debian-x86_64_custom cobbler repo edit --name=debian-x86_64_custom --mirror=http://192.168.21.1/debian8/dists/jessie

KVM

export COBBLER_SERVER=192.168.21.3 LANG=C koan --virt --wait=-1 --system=debtest1 --server=192.168.21.3

Clean

cobbler system remove --name debtest1 cobbler profile remove --name debian-x86_64_custom cobbler profile remove --name debian-x86_64 cobbler profile remove --name debian-gtk-x86_64 cobbler distro remove --name debian-x86_64_custom cobbler distro remove --name debian-x86_64 cobbler distro remove --name debian-gtk-x86_64 cobbler repo remove --name debian-x86_64_custom cobbler repo remove --name debian-x86_64 cobbler repo remove --name debian-gtk-x86_64