{"id":31628067,"url":"https://github.com/jirutka/qemu-openrc","last_synced_at":"2025-10-06T20:17:41.985Z","repository":{"id":8708891,"uuid":"59412662","full_name":"jirutka/qemu-openrc","owner":"jirutka","description":"OpenRC init script for QEMU/KVM (for Gentoo and Alpine Linux)","archived":false,"fork":false,"pushed_at":"2024-10-17T21:02:06.000Z","size":48,"stargazers_count":41,"open_issues_count":7,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-08T17:33:09.120Z","etag":null,"topics":["alpine-linux","initscript","kvm","linux","openrc","qemu","qemu-kvm"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jirutka.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-22T13:03:50.000Z","updated_at":"2025-01-07T12:42:11.000Z","dependencies_parsed_at":"2024-06-20T01:45:11.410Z","dependency_job_id":"5f52a0d0-6abb-4d2e-8b30-d6421f4f4707","html_url":"https://github.com/jirutka/qemu-openrc","commit_stats":{"total_commits":73,"total_committers":8,"mean_commits":9.125,"dds":0.2191780821917808,"last_synced_commit":"dfefabbf67cc3bde0e683c7d6cf0b316bd1314fb"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/jirutka/qemu-openrc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fqemu-openrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fqemu-openrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fqemu-openrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fqemu-openrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirutka","download_url":"https://codeload.github.com/jirutka/qemu-openrc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fqemu-openrc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278672041,"owners_count":26025826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","initscript","kvm","linux","openrc","qemu","qemu-kvm"],"created_at":"2025-10-06T20:17:37.360Z","updated_at":"2025-10-06T20:17:41.980Z","avatar_url":"https://github.com/jirutka.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= OpenRC runscript for QEMU\n\nThis is (opinionated) OpenRC runscript for QEMU virtual machines.\n\n____\nYou don’t need https://libvirt.org[libvirt] and its https://libvirt.org/formatdomain.html[awful XML configs] to use QEMU/KVM!\n____\n\n\n== Requirements\n\n* https://wiki.gentoo.org/wiki/OpenRC[OpenRC]\n* Bash or Busybox’s ash (should work also with other POSIX shells)\n* http://www.dest-unreach.org/socat[socat]\n* Linux kernel with virtio drivers\n+\n    CONFIG_HW_RANDOM_VIRTIO=y\n    CONFIG_SCSI_VIRTIO=y\n    CONFIG_VIRTIO=y\n    CONFIG_VIRTIO_BALLOON=y\n    CONFIG_VIRTIO_NET=y\n    CONFIG_VIRTIO_PCI=y\n\n\n== Installation\n\n=== Alpine Linux\n\nInstall package https://pkgs.alpinelinux.org/package/edge/community/x86_64/qemu-openrc[qemu-openrc]:\n\n    apk add qemu-openrc\n\n\n=== Manually\n\n. Install socat:\n+\n[source, sh]\n----\nemerge -av net-misc/socat  # on Gentoo\napk add socat  # on Alpine\n----\n\n. Clone this repository and jump in:\n+\n    git clone https://github.com/jirutka/qemu-openrc.git\n    cd qemu-openrc\n\n. Install runscript, example config and qemush utility:\n+\n    make install\n+\nYou may use standard GNU variables such as `DESTDIR`, `prefix`, `bindir`… to specify the target directories.\n\n\n== How to configure a new VM\n\n. Symlink runscript `qemu` for your new VM named `jarvis`:\n+\n    cd /etc/init.d\n    ln -s qemu qemu.jarvis\n\n. Configure your new VM:\n+\n    cd /etc/conf.d\n    cp qemu qemu.jarvis\n    vim qemu.jarvis\n\n. Start your new VM:\n+\n    rc-service qemu.jarvis start\n\n\n== License\n\nThis project is licensed under http://opensource.org/licenses/MIT/[MIT License].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fqemu-openrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirutka%2Fqemu-openrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fqemu-openrc/lists"}