Skip to content

Commit

Permalink
Merge pull request #22 from OndrejHome/develop
Browse files Browse the repository at this point in the history
1.1 Inclusion
  • Loading branch information
OndrejHome authored Feb 13, 2017
2 parents c97d205 + 9f3b984 commit 279989b
Show file tree
Hide file tree
Showing 10 changed files with 423 additions and 116 deletions.
7 changes: 4 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ starting VM using the 'hack files'.

====== Requirements ======
* libvirt with qemu/kvm
* libxml2 (xmllint)
* LVM thin pool support
* LVM VG with reasonable amount of free space (to create LV with thin pool)
** you can use 'losetup' to create a loopback device with LVM
Expand Down Expand Up @@ -64,9 +65,9 @@ configure-fast-vm(8)

====== Supported/Tested OS =====
Distribution Installation method
- RHEL 7.2 RPM
- CentOS 7.2 RPM
- Fedora 24 RPM
- RHEL 7.3 RPM
- CentOS 7.3 RPM
- Fedora 25 RPM
- Gentoo make install

====== Known bugs/limitation ======
Expand Down
2 changes: 2 additions & 0 deletions ebuild/app-emulation/fast-vm/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST 1.0.tar.gz 31600 SHA256 cc7724e9929679120355b4e6d2d6e9bd62983f112560dc9f1ddae866c70925bd SHA512 d3f36e3dbfff31703552462dcc496dd56c33c2852168da9e84f02826a7ba037ce9722b4a9638c31a2f7bb0007af71a60ba20a61ab8f9853f5e02ccc17ba43970 WHIRLPOOL 1742175c84a4c8154cf9139285ce6e2890f0a99a57f218f91b18fef233e9c738f2e875c4dfebca5f69f7226d5c6f05c4ad7916d9d74f9e4eab6518d01c5cf195
EBUILD fast-vm-1.0.ebuild 1149 SHA256 eda09bf206703d275662491b9fb0ef3344d968d3456e5fe83b7bbbbd10ef1a8d SHA512 b531c249dcbee4f95ae0911438ab607c72c460bae7a7e86d130b9a677b15bce1a6e9b526b7a788cb18cfa2344d6c3fdde92eefa2ee09a3bd1183e20c2914cb72 WHIRLPOOL 55dde988c3e29a1fd884356f5be10612768f7b4fb0fcda6fa8c8533c49fc891f8269bc5d3e2a7bf429d620a47861c160ad4d63b73d36f3d44e5b557cab181ead
50 changes: 50 additions & 0 deletions ebuild/app-emulation/fast-vm/fast-vm-1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit linux-info

DESCRIPTION="Script for defining VMs from images provided in thin LVM pool"
HOMEPAGE="https://www.famera.cz/blog/fast-vm/about.html"
SRC_URI="https://github.com/OndrejHome/fast-vm/archive/1.0.tar.gz"

LICENSE="GPLv3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+hack-file-dependencies +curl +bash-completion"

# built time dependencies
DEPEND=""
# runtime dependencies
RDEPEND="
app-emulation/libvirt[virt-networks]
net-dns/dnsmasq[dhcp-tools,script]
sys-apps/gawk
sys-apps/coreutils
app-admin/sudo
dev-libs/libxml2
sys-fs/lvm2[thin]
curl? ( net-misc/curl )
hack-file-dependencies? (
app-emulation/libguestfs
app-emulation/libguestfs-appliance
app-emulation/libvirt[virt-networks,qemu]
)
bash-completion? ( app-shells/bash-completion )
"

src_compile() {
return
}

pkg_setup() {
# check if some basic kernel modules not checked elsewhere are needed
CONFIG_CHECK="
~DM_SNAPSHOT
~DM_THIN_PROVISIONING"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
Loading

0 comments on commit 279989b

Please sign in to comment.