Created
July 20, 2015 15:13
-
-
Save blakewrege/66118f33324a85c3c187 to your computer and use it in GitHub Desktop.
Some vmscripts I used on cflock
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
virt-install --connect qemu:///system --arch=x86_64 -n win2012 --ram 4096 --cpu host --vcpus=2 --hvm --disk size=100,sparse=false,format=raw,bus=virtio --cdrom /home/cclub/images/en_windows_server_2012_x64_dvd_915478.iso --os-type=windows --os-variant=win2k8 --network bridge=br0,model=virtio --noautoconsole | |
qemu-system-x86_64 --enable-kvm -m 2048 -boot d -drive file=WIN2K8R2.qcow2,if=virtio -cdrom /home/cclub/images/en_windows_server_2012_x64_dvd_915478.iso -drive file=virtio-win-drivers-20120712-1.iso,media=cdrom -net nic,model=virtio -net user | |
qemu-img create -f qcow2 ws2012.qcow2 80g | |
virt-install --connect qemu:///system --arch=x86_64 -n ws2012 -r 2048 --vcpus=2 --disk path=/tmp/ws2012.qcow2,device=disk,bus=virtio,size=15 -c /home/cclub/images/en_windows_server_2012_x64_dvd_915478.iso --vnc --noautoconsole --os-type windows --os-variant win7 --network=bridge:br0 --disk path=/home/cclub/images/en_windows_server_2012_x64_dvd_915478.iso,device=cdrom,perms=ro -c /home/cclub/images/virtio-win-0.1-100.iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment