- Added unique LICENSE file location.

pull/4/head
Steve Clement 2018-04-16 11:57:41 +02:00
parent 570d25d245
commit 011806ab6c
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ PACKER_LOG=1
PWD=`pwd` PWD=`pwd`
# Fetching latest MISP LICENSE # Fetching latest MISP LICENSE
/usr/bin/wget -q -O /tmp/LICENSE https://raw.githubusercontent.com/MISP/MISP/2.4/LICENSE /usr/bin/wget -q -O /tmp/LICENSE-misp https://raw.githubusercontent.com/MISP/MISP/2.4/LICENSE
# Place holder, this fn() should be used to anything signing related # Place holder, this fn() should be used to anything signing related
function signify() function signify()
@ -88,7 +88,7 @@ if [ "${LATEST_COMMIT}" != "$(cat /tmp/misp-latest.sha)" ]; then
rm packer_virtualbox-iso_virtualbox-iso_sha384.checksum.asc rm packer_virtualbox-iso_virtualbox-iso_sha384.checksum.asc
rm packer_virtualbox-iso_virtualbox-iso_sha512.checksum.asc rm packer_virtualbox-iso_virtualbox-iso_sha512.checksum.asc
rm MISP_${VER}@${LATEST_COMMIT}-vmware.zip.asc rm MISP_${VER}@${LATEST_COMMIT}-vmware.zip.asc
rm /tmp/LICENSE rm /tmp/LICENSE-misp
echo ${LATEST_COMMIT} > /tmp/misp-latest.sha echo ${LATEST_COMMIT} > /tmp/misp-latest.sha
TIME_END=$(date +%s) TIME_END=$(date +%s)
TIME_DELTA=$(expr ${TIME_END} - ${TIME_START}) TIME_DELTA=$(expr ${TIME_END} - ${TIME_START})

View File

@ -20,7 +20,7 @@
[ [
"--manifest", "--manifest",
"--vsys", "0", "--vsys", "0",
"--eulafile", "/tmp/LICENSE", "--eulafile", "/tmp/LICENSE-misp",
"--description", "{{user `vm_description`}}", "--description", "{{user `vm_description`}}",
"--version", "{{user `vm_version`}}" "--version", "{{user `vm_version`}}"
], ],