Skip to content

Instantly share code, notes, and snippets.

@auser
Created May 22, 2024 18:42
Show Gist options
  • Select an option

  • Save auser/b51d4b26354ec959f97b07e68817ab5d to your computer and use it in GitHub Desktop.

Select an option

Save auser/b51d4b26354ec959f97b07e68817ab5d to your computer and use it in GitHub Desktop.

Revisions

  1. auser created this gist May 22, 2024.
    24 changes: 24 additions & 0 deletions ova-on-utm.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    #!/usr/bin/env bash

    # untar the ova
    tar -xvf [path-to-ova]

    # Convert to qcow2
    qemu-img convert -O qcow2 jangow\ 01-disk001.vmdk jangow.qcow2

    # Create a new machine in UTM
    # Select emulated
    # Select custom
    # Skip ISO boot
    # Continue and save

    # Go to settings
    # Go to Drives
    # Delete the IDE drive
    # Create a new drive
    # Select "import"
    # Select the qcow2
    # Next
    # Go to the QEMU tab
    # UNSELECT UEFI Boot
    # Save and run