]> git.donarmstrong.com Git - neurodebian.git/blob - tools/nd_exportappliance
adding svgtune -- I doubt it would make to any task... although may be typesetting?
[neurodebian.git] / tools / nd_exportappliance
1 #!/bin/bash
2
3 set -e
4 set -u
5
6 # Settings/arguments
7 vendor="NeuroDebian"
8 vm_version="6.0.0"
9 vm_arch="amd64"
10 vm_name="${vendor} ${vm_version} (${vm_arch})"
11 product_name="${vendor} VirtualMachine (${vm_arch})"
12 outdir=.
13
14 # Common
15 eula="This virtual appliance contains Free and Open Source Software (FOSS) released under licenses compliant with the 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.
16
17 However, by default this virtual machine is also enabled to install additional software from Debian and NeuroDebian repositories that is distributed under more restrictive licenses (e.g. closed-source, non-commercial, research-only). It is the user's responsibility to adhere to the terms and conditions of any particular software that is installed and used in this virtual machine. Copyright and license details for any installed PACKAGE are available in /usr/share/doc/PACKAGE/copyright inside the virtual machine."
18
19 out_ovf="${outdir}/${vendor}_${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 "${vendor}" \
25         --vendorurl "http://neuro.debian.net" \
26         --version "$vm_version" \
27         --eula "$eula"