From: Yaroslav Halchenko Date: Thu, 4 Nov 2010 17:09:48 +0000 (-0400) Subject: nd_exportappliance: with hardcoded versions/paths for now -- places EULA in place X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=31c57b514585f7a942b0a51201c76ee6f9fae94d;p=neurodebian.git nd_exportappliance: with hardcoded versions/paths for now -- places EULA in place --- diff --git a/tools/nd_exportappliance b/tools/nd_exportappliance new file mode 100755 index 0000000..b9bc6ad --- /dev/null +++ b/tools/nd_exportappliance @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e +set -u + +# Settings/arguments +vm_name="NeuroDebian VirtualMachine (64bit)" +vm_version="6.0.0" +vm_arch="amd64" +outdir=. + +# Common +eula="Virtual appliance comes with Free and Open Source Software (FOSS) released under licenses compliant with Debian Free Software Guidelines (DFSG, see http://www.debian.org/social_contract), such as, GPL, BSD, MIT, etc. Such software is free to be used or customized for any purpose. + +In addition, Debian and NeuroDebian contrib/ and non-free/ repositories are enabled within the Virtual Machine to provide you with access to free software which is distributed under restrictive (e.g. closed-source, non-commercial, research-only) licenses. + +You must adhere to the terms of FOSS or free software you will use. For copyright and license details of a particular software shipped in a PACKAGE please consult a corresponding /usr/share/doc/PACKAGE/copyright file before its use." + +out_ovf="${outdir}/NeuroDebian_${vm_version}_${vm_arch}.ovf" +VBoxManage export "${vm_name}" -o "$out_ovf" \ + --vsys 0 \ + --product "$vm_name" \ + --producturl "http://neuro.debian.net/vm.html" \ + --vendor "NeuroDebian" \ + --vendorurl "http://neuro.debian.net" \ + --version "$vm_version" \ + --eula "$eula"