Skip to content

Instantly share code, notes, and snippets.

@vincentbernat
Last active September 7, 2018 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentbernat/dc64193dd7d901a9827b34cd5cef9f6a to your computer and use it in GitHub Desktop.
Save vincentbernat/dc64193dd7d901a9827b34cd5cef9f6a to your computer and use it in GitHub Desktop.

You need to have cs (pip install cs) and configure it (see https://github.com/exoscale/cs)

  1. Create a VM. The OS doesn't matter.
  2. Get the virtual machine ID and execute: cs attachIso id=5434aada-28cc-4a82-a1eb-8e2d533f66ad virtualmachineid=04aa487b-c6c1-4de2-9237-8f17860351cf
  3. Reboot the VM and open the console. You should get netboot.xyz menu.
  4. When the new OS is installed, detach the ISO: cs detachIso virtualmachineid=04aa487b-c6c1-4de2-9237-8f17860351cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment