Skip to content

Instantly share code, notes, and snippets.

@omadjoudj
Created September 13, 2020 14:05
Show Gist options
  • Save omadjoudj/4bf4ad2c13d43a8df1c3092eb0775f61 to your computer and use it in GitHub Desktop.
Save omadjoudj/4bf4ad2c13d43a8df1c3092eb0775f61 to your computer and use it in GitHub Desktop.
create-vm.sh
virt-install \
-n pharos-m1\
--ram=8000 \
--vcpus=2 \
--disk path=/var/lib/libvirt/images/pharos-m1.qcow2,bus=virtio \
--graphics none \
--network bridge:virbr0,model=virtio \
--import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment