-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
506560c
commit cded58e
Showing
14 changed files
with
125 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
fast-vm (1.6) unstable; urgency=medium | ||
|
||
* Debian 10 support | ||
* 'compact' and 'copact_image' commands added | ||
* zst compression support | ||
* various fixes and documentation improvements | ||
|
||
-- Ondrej Famera <[email protected]> Wed, 09 Oct 2019 17:00:00 +0900 | ||
|
||
fast-vm (1.5) unstable; urgency=medium | ||
|
||
* recursive scp command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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.6.tar.gz" | ||
|
||
LICENSE="GPL-3+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="+hack-file-dependencies +bash-completion +zstd" | ||
|
||
# built time dependencies | ||
DEPEND="" | ||
# runtime dependencies | ||
RDEPEND=" | ||
app-emulation/libvirt[virt-network] | ||
net-dns/dnsmasq[dhcp-tools,script] | ||
sys-apps/gawk | ||
sys-apps/coreutils | ||
app-admin/sudo | ||
dev-libs/libxml2 | ||
sys-fs/lvm2[thin] | ||
net-misc/openssh | ||
|| ( net-misc/curl net-misc/wget ) | ||
hack-file-dependencies? ( | ||
>=app-emulation/libguestfs-1.36.4 | ||
>=app-emulation/libguestfs-appliance-1.36.1 | ||
app-emulation/libvirt[virt-network,qemu] | ||
) | ||
bash-completion? ( app-shells/bash-completion ) | ||
zstd? ( app-arch/zstd ) | ||
" | ||
|
||
src_compile() { | ||
return | ||
} | ||
|
||
pkg_setup() { | ||
# check if some basic kernel modules not checked elsewhere are needed | ||
CONFIG_CHECK=" | ||
~DM_SNAPSHOT | ||
~DM_THIN_PROVISIONING | ||
~CONFIG_NF_NAT_IPV4 | ||
~CONFIG_NF_NAT_MASQUERADE_IPV4" | ||
if [[ -n ${CONFIG_CHECK} ]]; then | ||
linux-info_pkg_setup | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -318,7 +318,7 @@ usage () { | |
echo "$FVM compact_image ImageName" | ||
;; | ||
*) | ||
echo "== fast-vm version 1.5 <[email protected]> ==" | ||
echo "== fast-vm version 1.6 <[email protected]> ==" | ||
echo "$FVM <action> <options>" | ||
for cmd in import_image import_custom_image export_image remove_image resize_image import_profile remove_profile list_images create delete edit_note resize info list start stop console keydist ssh scp compact compact_image; | ||
do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: fast-vm | ||
Version: 1.5 | ||
Version: 1.6 | ||
Release: 1%{?dist} | ||
Summary: Script for defining VMs from images provided in thin LVM pool - with extra dependencies | ||
|
||
|
@@ -43,7 +43,7 @@ Requires: qemu-kvm | |
Requires: libvirt-daemon-driver-storage | ||
Requires: libvirt-daemon-driver-lxc | ||
Requires: libvirt-daemon-driver-qemu | ||
Conflicts: %{name} < 1.5 | ||
Conflicts: %{name} < 1.6 | ||
Summary: Script for defining VMs from images provided in thin LVM pool | ||
|
||
%description minimal | ||
|
@@ -81,6 +81,12 @@ drive of new machine before starting VM using the 'hack files'. | |
%config(noreplace) %{_sysconfdir}/sudoers.d/%{name}-sudoers | ||
|
||
%changelog | ||
* Wed Oct 09 2019 Ondrej Famera <[email protected]> 1.6-1 | ||
- CentOS/RHEL 8 support | ||
- zst compression support (if installed) | ||
- 'compact' and 'compact_image' commands added | ||
- various fixes and documentation improvements | ||
|
||
* Thu Jul 19 2018 Ondrej Famera <[email protected]> 1.5-1 | ||
- recursive scp command | ||
- scp with multiple files (@itsbill) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Name: fast-vm | ||
Version: 1.5 | ||
Release: 2%{?dist} | ||
Version: 1.6 | ||
Release: 1%{?dist} | ||
Summary: Script for defining VMs from images provided in thin LVM pool - with extra dependencies | ||
|
||
License: GPLv3+ | ||
|
@@ -18,6 +18,7 @@ Recommends: dnsmasq-utils | |
Recommends: gzip | ||
Recommends: pv | ||
Recommends: xz | ||
Recommends: zstd | ||
Recommends: libguestfs-tools-c | ||
|
||
%description | ||
|
@@ -50,7 +51,7 @@ Requires: util-linux | |
Requires: qemu-kvm | ||
Requires: libvirt-daemon-driver-storage | ||
Requires: libvirt-daemon-driver-qemu | ||
Conflicts: %{name} < 1.5 | ||
Conflicts: %{name} < 1.6 | ||
|
||
%description minimal | ||
%{name} provides command-line interface to create virtual machines (VMs) in | ||
|
@@ -87,6 +88,12 @@ drive of new machine before starting VM using the 'hack files'. | |
%config(noreplace) %{_sysconfdir}/sudoers.d/%{name}-sudoers | ||
|
||
%changelog | ||
* Wed Oct 09 2019 Ondrej Famera <[email protected]> 1.6-1 | ||
- CentOS/RHEL 8 support | ||
- zst compression support (if installed) | ||
- 'compact' and 'compact_image' commands added | ||
- various fixes and documentation improvements | ||
|
||
* Thu Mar 21 2019 Ondrej Famera <[email protected]> 1.5-2 | ||
- RHEL 8 Beta preview version of fast-vm | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: fast-vm | ||
Version: 1.5 | ||
Version: 1.6 | ||
Release: 1%{?dist} | ||
Summary: Script for defining VMs from images provided in thin LVM pool - with extra dependencies | ||
|
||
|
@@ -18,6 +18,7 @@ Recommends: dnsmasq-utils | |
Recommends: gzip | ||
Recommends: pv | ||
Recommends: xz | ||
Recommends: zstd | ||
Recommends: libguestfs-tools-c | ||
|
||
%description | ||
|
@@ -51,7 +52,7 @@ Requires: qemu-kvm | |
Requires: libvirt-daemon-driver-storage | ||
Requires: libvirt-daemon-driver-lxc | ||
Requires: libvirt-daemon-driver-qemu | ||
Conflicts: %{name} < 1.5 | ||
Conflicts: %{name} < 1.6 | ||
|
||
%description minimal | ||
%{name} provides command-line interface to create virtual machines (VMs) in | ||
|
@@ -88,6 +89,12 @@ drive of new machine before starting VM using the 'hack files'. | |
%config(noreplace) %{_sysconfdir}/sudoers.d/%{name}-sudoers | ||
|
||
%changelog | ||
* Wed Oct 09 2019 Ondrej Famera <[email protected]> 1.6-1 | ||
- CentOS/RHEL 8 support | ||
- zst compression support (if installed) | ||
- 'compact' and 'compact_image' commands added | ||
- various fixes and documentation improvements | ||
|
||
* Thu Jul 19 2018 Ondrej Famera <[email protected]> 1.5-1 | ||
- recursive scp command | ||
- scp with multiple files (@itsbill) | ||
|