mirror of https://github.com/MISP/misp-packer
- Added unique LICENSE file location.
parent
570d25d245
commit
011806ab6c
|
@ -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})
|
||||||
|
|
|
@ -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`}}"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue