2,187
edits
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 == | ||
{| 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]] |