Difference between revisions of "Virtual Machine (KVM)"

Jump to navigation Jump to search
437 bytes added ,  16:36, 12 February 2018
Still WIP - added Create Server (no GUI)
m (→‎Create Virtual Machine: Minor update to table - Still WIP/draft)
(Still WIP - added Create Server (no GUI))
Line 13: Line 13:
== Create Virtual Machine ==
== Create Virtual Machine ==


virt-install
{| class="vwikitable"
{| class="vwikitable"
|-
|-
Line 40: Line 39:
| <code>network</code>        || bridge:br0                  || Network connection details
| <code>network</code>        || bridge:br0                  || Network connection details
|}
|}
=== Create Server (no GUI) ===
Update paths to reflect where install ISO, and where VM disk files are intended to be
<pre>
virt-install \
--virt-type=kvm \
--name server-name \
--ram 1024 \
--vcpus=1 \
--os-variant=ubuntu16.04 \
--network=bridge=virbr0,model=virtio \
--graphics none \
--disk path=/mnt/md0/kvm/vm/server-name.img,size=20,bus=virtio \
--extra-args "console=ttyS0" \
--location /mnt/md0/kvm/iso/ubuntu-16.04.3-server-amd64.iso
</pre>


[[Category:KVM]]
[[Category:KVM]]

Navigation menu