This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts to generate a bridge and taps to run kvm virtualization on slackware
License
Buggaboo/slackware-kvm-scripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
16-11-2009 Install * groupadd network and kvm, * add 'user' to group 'network' and 'kvm' in /etc/group: useradd user groupadd network kvm * add udev rule (in ./etc/udev/rules.d/100-custom.rules) to /etc/udev/rules.d cat ./etc/udev/rules.d/100-custom.rules >> /etc/udev/rules.d/100-custom.rules * add this line to /etc/sudoers: %network ALL=(ALL) NOPASSWD: /sbin/ifconfig, /sbin/brctl, /usr/bin/tunctl, /usr/bin/qemu-system-x86_64 cat "%network ALL=(ALL) NOPASSWD: /sbin/ifconfig, /sbin/brctl, /usr/bin/tunctl, /usr/bin/qemu-system-x86_64" >> /etc/sudoers * cp all the files from ./etc/{udev/rules.d,rc.d} to your own /etc, change where necessary, it's important to change the subnet range to your own * In rc.inet1, add "-R" to the initialization code of dhcpcd to stop it from clobbering resolv.conf which you need for setting up nameservers for your kvm vm sessions * use 'startvm.sh image.qcow2 tap0' to start a kvm vm session Dependencies * You must have the brctl and tunctl binaries, available on http://www.slackbuilds.org * You must have the kvm qemu client installed (type: 'which qemu-system-x86_64' in a shell) * Your cpu must support the virtualization instructions to use kvm: http://en.wikipedia.org/wiki/X86_virtualization Options * each file in ./etc have the parameters defined at the top of the file, you may modify these
About
Scripts to generate a bridge and taps to run kvm virtualization on slackware
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published