]> git.donarmstrong.com Git - neurodebian.git/blob - tools/nd_exportappliance
nd_exportappliance: with hardcoded versions/paths for now -- places EULA in place
[neurodebian.git] / tools / nd_exportappliance
1 #!/bin/bash
2
3 set -e
4 set -u
5
6 # Settings/arguments
7 vm_name="NeuroDebian VirtualMachine (64bit)"
8 vm_version="6.0.0"
9 vm_arch="amd64"
10 outdir=.
11
12 # Common
13 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.
14
15 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.
16
17 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."
18
19 out_ovf="${outdir}/NeuroDebian_${vm_version}_${vm_arch}.ovf"
20 VBoxManage export "${vm_name}" -o "$out_ovf" \
21         --vsys 0 \
22         --product "$vm_name" \
23         --producturl "http://neuro.debian.net/vm.html" \
24         --vendor "NeuroDebian" \
25         --vendorurl "http://neuro.debian.net" \
26         --version "$vm_version" \
27         --eula "$eula"