From fc48ef5427ef108a30dca4d42655fe040b0aa5c7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 28 Aug 2015 11:53:03 -0300 Subject: Add macros between %% and %% on pfSense.ovf, then simplify the logic of ova_setup_ovf_template() --- tools/templates/ovf/pfSense.ovf | 37 +++++++++---------------------------- 1 file changed, 9 insertions(+), 28 deletions(-) (limited to 'tools/templates') diff --git a/tools/templates/ovf/pfSense.ovf b/tools/templates/ovf/pfSense.ovf index f70b9bd..84ff184 100644 --- a/tools/templates/ovf/pfSense.ovf +++ b/tools/templates/ovf/pfSense.ovf @@ -1,11 +1,11 @@ - + List of the virtual disks used in the package - + The list of logical networks @@ -19,9 +19,9 @@ pfSense virtual machine pfSense - - FreeBSD XX-Bit - FreeBSD XX-Bit (pfSense) + + %%OS_TYPE%% (pfSense) + %%OS_TYPE%% Virtual hardware requirements @@ -102,9 +102,9 @@ Describes product information for the service pfSense Electric Sheep Fencing, LLC - PRODUCT_VERSION - PRODUCT_URL - PRODUCT_URL + %%PRODUCT_VERSION%% + %%PRODUCT_URL%% + %%PRODUCT_URL%% An annotation @@ -113,26 +113,7 @@ The End User License Agreement -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. +%%PRODUCT_LICENSE%% -- cgit v1.1