From 261dafe41dd738fd994a50a82bbf8d28a05f61fa Mon Sep 17 00:00:00 2001 From: Jesse Gardner Date: Fri, 13 Aug 2021 18:00:38 -0700 Subject: [PATCH] Improved copyright section of FAQ --- README.md | 55 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 07f9cb8..9604776 100644 --- a/README.md +++ b/README.md @@ -27,36 +27,55 @@ chmod +x .qq2clone_installer.bash && ## How do I use this thing? -The -[manual](https://git.j-g-web.com/jesse/qq2clone/src/branch/master/man.md) -is quite detailed, and there is an +The +[manual](https://git.j-g-web.com/jesse/qq2clone/src/branch/master/man.md) +is quite detailed, and there is an [examples](https://git.j-g-web.com/jesse/qq2clone/src/branch/master/man.md#examples) section that may be helpful. ## Why use Bash and C when this could all be written in Python? -Just to improve my Bash skills and gain a tiny bit of familiarity with C. +Just to improve my Bash skills and gain a tiny bit of familiarity with C. Writing this in Python would certainly have been easier. ## Permission issues when making a clone -Getting an error like "Template $VMNAME refers +Getting an error like "Template $VMNAME refers to /var/lib/libvirt/images/$VMNAME.qcow2, but the file -cannot be read" ? This is because libvirt is configured with a default +cannot be read" ? This is because libvirt is configured with a default storage pool that you, as a non-root user are not allowed to read. -You can resolve this issue by moving the image associated with a -virtual machine to a location your user can read, changing the -ownership/permissions, and modifying the libvirt xml of the -template to point at the new image location. To modify a template machine's -XML, use qq2clone modify\-template VMNAME edit. You will have to -find the filepath of the virtual machine image in the XML and change it +You can resolve this issue by moving the image associated with a +virtual machine to a location your user can read, changing the +ownership/permissions, and modifying the libvirt xml of the +template to point at the new image location. To modify a template machine's +XML, use qq2clone modify\-template VMNAME edit. You will have to +find the filepath of the virtual machine image in the XML and change it to point at the location you moved it to. # Copyright 2021, Jesse Gardner -All files present in the qq2clone git repository are released under the -the GNU GPL v2 license, made available in the [license -file](https://git.j-g-web.com/jesse/qq2clone/raw/branch/master/LICENSE) -above. All files contained in the qq2clone git repository, beginning from -the first commit and continuing to the present, are offered solely under -the terms of the GNU GPL v2 license. +All files present in the qq2clone git repository are released under the +the GNU GPL v2 license. The following disclaimer is found in most files +contained in this repository, and makes things more specific: +``` +/* +#------------------------------------------------------------------------# +# Copyright 2021, Jesse Gardner # +#------------------------------------------------------------------------# +# This file is part of qq2clone. # +# # +# qq2clone is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 2 of the License, or # +# (at your option) any later version. # +# # +# qq2clone is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with qq2clone. If not, see . # +#------------------------------------------------------------------------# +*/ +```