Skip to content

Custom Ubu 22.04 cloud img v0.1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Oct 17:02
2e4d0c0

To install:

  1. Download the following assets from the bottom of this release page:

    • customjammy_compressed.qcow2
    • customjammy_compressed.qcow2.sha256sum

    Check the package validity before continuing on like so:

    # Make sure you are in the same directory as the customjammy_compressed.qcow2
    sha256sum -c customjammy_compressed.qcow2.sha256sum
  2. Run:

    sudo mv customjammy_compressed.qcow2 /var/lib/libvirt/images/customjammy.qcow2
    sudo virt-install \\      --connect qemu:///system \\      --name customjammy \\      --memory 2048 \\      --vcpus 2 \\      --os-variant ubuntu22.04 \\      --disk path=/var/lib/libvirt/images/customjammy.qcow2,bus=virtio \\      --import \\      --noautoconsole \\      --network network=default,model=virtio \\      --graphics none \\      --console pty,target_type=serial
  3. Connect:

    sudo virsh domifaddr customjammy
    ssh -i <priv_key_path> ssh-user@<addr>