KVM: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 41: Line 41:
</pre>
</pre>
}}
}}
{{Root|# /etc/init.d/}}
{{Root|# ln -s net.lo net.br0}}
{{Root|# ln -s net.lo net.tap0}}
{{Root|# rc-update add net.br0 default}}
{{Root|# rc-update add net.tap0 default}}
== Setup user permissions ==
{{Root|# usermod -a -G kvm,qemu username}}

Revision as of 15:21, 13 May 2009

Description

Setting up the Kernel-based Virtual Machine including network configuration and beeing able to create and run new machines as a normal user without requiring root privileges.

Packages

Template:Box Code

USE-Flags

Template:Box File

Installation

# # emerge kvm

Network configuration

Template:Box File

# # /etc/init.d/
# # ln -s net.lo net.br0
# # ln -s net.lo net.tap0
# # rc-update add net.br0 default
# # rc-update add net.tap0 default


Setup user permissions

# # usermod -a -G kvm,qemu username