This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install virtualbox additions. | |
| # Requires the guest additions iso connected to the secondary slave. | |
| # This seems overly complicated, but is a combination | |
| # that seems to work: | |
| # the vbox ose packages were somehow being installed by the standard task, | |
| # the LSB header is required for update-rc.d, which in turn is needed, | |
| # due to straight linking to rc2.d not working (automatic boot sequence, | |
| # and dependency management), | |
| # cdrom source not being removed at the point when this script runs. | |
| # Deletes /etc/udev/rules.d/70-persistent-net.rules to allow cloning. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux | |
| wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | |
| cp -nv ~/.ssh/id_rsa.pub . | |
| qemu-system-x86_64 -machine accel=kvm -kernel linux -initrd initrd.gz -m 1G -smp 2 -append "blacklist=vga16fb fb=false video=false vga=normal auto=true url=http://10.0.2.10:8080/debian-preseed.txt hostname=otto domain=" -net user,guestfwd=:10.0.2.10:8080-cmd:"/bin/busybox httpd -i" -hda /dev/shm/deb.img -net nic -display none |