|
@ -8,5 +8,7 @@ echo "Creating new opennms-horizon.gns3a appliance file:" |
|
|
echo "- OpenNMS version.: $VERSION" |
|
|
echo "- OpenNMS version.: $VERSION" |
|
|
echo "- Image md5sum....: $MD5SUM" |
|
|
echo "- Image md5sum....: $MD5SUM" |
|
|
echo "- Image filesize..: $FILESIZE" |
|
|
echo "- Image filesize..: $FILESIZE" |
|
|
sed -i 's/packer-qemu/opennms-horizon.qcow2/g' opennms-horizon.qcow2.md5sum |
|
|
|
|
|
|
|
|
|
|
|
sed -e "s/\${version}/$VERSION/" -e "s/\${md5sum}/$MD5SUM/" -e "s/\${filesize}/$FILESIZE/" ../gns3/opennms-horizon.gns3a > opennms-horizon.gns3a |
|
|
sed -e "s/\${version}/$VERSION/" -e "s/\${md5sum}/$MD5SUM/" -e "s/\${filesize}/$FILESIZE/" ../gns3/opennms-horizon.gns3a > opennms-horizon.gns3a |
|
|
|
|
|
|
|
|
|
|
|
rm -rf opennms-horizon.qcow2.md5sum opennms-horizon.qcow2.gz.md5sum |