Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

scripts to jumpstart kvm use on an ubuntu server installation

Notifications You must be signed in to change notification settings

Buggaboo/ubuntu-kvm-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README 25-11-09

See ./etc first, most of the settings for udev, sudoers, etc. are there.

* install ubuntu
* make sure the domain name resolver is set in /etc/resolv.conf
* make sure the 'kvm' and 'kvm-amd/intel' modules are loaded
* create group kvm in /etc/group with 'groupadd' and add your kvm users to the group
* give permissions to users in /etc/sudoers to access group kvm
* make sure when /dev/kvm is chgrped using /etc/udev/rules.d/....rules
* sudo aptitude install uml-utilities bridge-utils, for tunctl, for tun/tap, it provides an internet connection to the vm guest
* setup /etc/networking/interfaces to create a bridge, eth0 can be dhcp, the bridge ip address must be static
* setup /etc/rc.local to create tunnels with the bridge and invoke the bridge
* make a symbolic link (sudo ln -s `pwd`/from-file to-file)  ./scripts/qemu-*.sh to /usr/local/bin and chgrp kvm /usr/local/bin/qemu* and chmod ug+rwx /usr/local/bin/qemu*

About

scripts to jumpstart kvm use on an ubuntu server installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages