Skip to content

Custom Ubu 22.04 cloud img v0.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 23:29
· 1 commit to master since this release
4a5973d

To install:

  1. Download

    • customjammy_compressed.qcow2
    • customjammy_compressed.qcow2.sha256sum

    Can 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>