You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 months ago | |
---|---|---|
.editorconfig | 6 years ago | |
LICENSE | 1 year ago | |
Makefile | 1 year ago | |
README.adoc | 1 year ago | |
qemu-binfmt.initd | 1 year ago | |
qemu.confd | 6 years ago | |
qemu.initd | 4 months ago | |
qemush | 1 year ago |
README.adoc
This is (opinionated) OpenRC runscript for QEMU virtual machines.
You don’t need libvirt and its awful XML configs to use QEMU/KVM!
Requirements
Installation
Manually
-
Install socat:
emerge -av net-misc/socat # on Gentoo apk add socat # on Alpine
-
Clone this repository and jump in:
git clone https://github.com/jirutka/qemu-openrc.git cd qemu-openrc
-
Install runscript, example config and qemush utility:
make install
You may use standard GNU variables such as
DESTDIR
,prefix
,bindir
… to specify the target directories.
How to configure a new VM
-
Symlink runscript
qemu
for your new VM namedjarvis
:cd /etc/init.d ln -s qemu qemu.jarvis
-
Configure your new VM:
cd /etc/conf.d cp qemu qemu.jarvis vim qemu.jarvis
-
Start your new VM:
rc-service qemu.jarvis start
License
This project is licensed under MIT License.