For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > 31 > kvm > virt-install


Created by dave. Last edited by dave, 4 years and 38 days ago. Viewed 1,047 times. #3
[diff] [history] [edit] [rdf]

Installing a VM

This example creates a 1c, 2GB VM with a 20GB disk, booting a kernel off of my local cobbler server director.

# virt-install --name test1 \
  --ram 2048 \
  --vcpus 1 \
  --disk path=/export/vm/test1/test1a.img,size=20 \
  --os-variant=fedora31 \
  --os-type=linux \
  --network bridge=br0 \
  --graphics none \
  --console pty,target_type=serial \
  --location 'http://director/yum/Fedora-31S' \
  --extra-args 'console=ttyS0,115200n8 serial ks=http://director/kickstart/Fedora-31S.cfg'
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt