Pegasi Wiki

This wiki acts as a memo for our own work so why not share them? Feel free to browse and use out notes and leave a note while at it.

How to create a new virtual guest using console

Change disk path, mac addresses and install image location

virt-install \
--name \
--arch x86_64 --cpu host --ram 2048 \
--disk path=/dev/disk/by-path/,io=native,format=raw \
--vcpus 2 \
--os-type linux \
--os-variant centos7.0 \
--network bridge=br0,mac=52:54:10:00:00:09 \
--network bridge=br1,mac=52:54:10:00:00:0a \
--graphics none \
--console pty,target_type=serial \
--location '/mnt/installimages/CentOS-7-x86_64-Minimal-1511.iso' \
--extra-args 'console=ttyS0,115200n8 serial'

  //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //place the needed HTML source codes BELOW this line