Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ virt-install --name <vm-name> --memory <RAM in MB> --vcpus <cpus> --pxe --os-variant ubuntu16.04 --disk size=<disk size in GB>,pool=vmvg -w network:<net-name> --autostart --noautoconsole --wait 0

To find the MAC-address

Code Block
$ virsh domiflist <vm-name>
Interface  Type       Source     Model       MAC
-------------------------------------------------------
-          network    management virtio      52:54:00:e8:8d:1c