Skip to content

Instantly share code, notes, and snippets.

@alainpham
Last active May 24, 2019 15:10
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 alainpham/ea07290cfd6ed815f68224ceefec6137 to your computer and use it in GitHub Desktop.
Save alainpham/ea07290cfd6ed815f68224ceefec6137 to your computer and use it in GitHub Desktop.
Install OKD on archlinux

qemu-img create -f qcow2 -o backing_file=/virt/images/arch.qcow2 /virt/runtime/arch.qcow2 120G

virsh net-update default add ip-dhcp-host "" --live --config

virt-install --import --name arch --ram 40960 --vcpus 8 --disk /virt/runtime/arch.qcow2,format=qcow2,bus=virtio --network bridge=virbr0,model=virtio,mac=52:54:00:00:00:21 --os-type=linux --os-variant=generic --noautoconsole --cpu host-passthrough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment