Skip to content

Instantly share code, notes, and snippets.

@miabbott
Created April 23, 2020 19:45
Show Gist options
  • Select an option

  • Save miabbott/02239cdc4e8d0c1ece0fbfa28f8422f8 to your computer and use it in GitHub Desktop.

Select an option

Save miabbott/02239cdc4e8d0c1ece0fbfa28f8422f8 to your computer and use it in GitHub Desktop.
live ISO notes
```
$ sudo curl -LO https://download.fedoraproject.org/pub/fedora/linux/releases/31/Cloud/x86_64/images/Fedora-Cloud-Base-31-1.9.x86_64.raw.xz
$ sudo unxz Fedora-Cloud-Base-31-1.9.x86_64.raw.xz
$ sudo qemu-img convert -O qcow2 Fedora-Cloud-Base-31-1.9.x86_64.raw Fedora-Cloud-Base-31-1.9.x86_64.qcow2
$ sudo qemu-img create -f qcow2 -o backing_file=Fedora-Cloud-Base-31-1.9.x86_64.qcow2 Fedora-Cloud-Base-31-1.9.x86_64.vm0423a.qcow2
$ sudo virt-install --import --name f31 --ram 2048 --vcpus 2 --disk path=/var/lib/libvirt/images/Fedora-Cloud-Base-31-1.9.x86_64.vm0423a.qcow2,format=qcow2,bus=virtio --disk path=/var/lib/libvirt/images/cloud-init.iso,device=cdrom,readonly=on --network bridge=virbr0 --os-type linux --os-variant fedora31 --noautoconsole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment