Skip to content

Instantly share code, notes, and snippets.

@grenade
Created April 20, 2018 12:39
Show Gist options
  • Save grenade/3dd44e8538ce74e3ebcc7b4116298ca2 to your computer and use it in GitHub Desktop.
Save grenade/3dd44e8538ce74e3ebcc7b4116298ca2 to your computer and use it in GitHub Desktop.
launch hvm linux image (not pv)
use screenshot to get bios pic of xen server version during boot
download pv drivers compatible with xen server version
use virtualbox
create image with iso
hci mode, not ide so you get sata hdd
install windows
install virtualbox guest utils
disable windows updates (q uses a scheduled job on boot to disable)
reboot
device manager should be clean, no errors
download ec2 config service and pv drivers (for network and guest service)
alternatively use qemu
disable background image in ec2(config).ini file
enable userdata
turn off telemetry (no idea how to do this)
disable cortana (no idea how to do this)
disable drive indexing
audit scheduled tasks, delete as required
install vnc (maybe needed to click through first boot)
maybe disable firewall
enable remote desktop connections for non domain users
in virtualbox, export vhd
10gb dynamically growable drive
import vm into ec2 ("ec2 machine import / ovf" doesn't work (maybe it does on win 10 ???), use: "ec2 volume import / vhd" import vhd via s3)
unmount root volume of new linux instance, attach volume of windows install to /dev/sda (hvm)
64 bit intel processor required
(kvm clipboard tests qemu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment