@ -1,8 +1,8 @@
#!/bin/sh
VERSION="$1"
MD5SUM="`cat opennms-horizon.qcow2.gz.md5sum | cut -d\\ -f1`"
FILESIZE="`stat -c %s opennms-horizon.qcow2.gz`"
MD5SUM="`cat opennms-horizon.qcow2.gz.md5sum | awk '{print $1}'`"
FILESIZE="`wc -c opennms-horizon.qcow2.gz | awk '{print $1}'`"
echo "Creating new opennms-horizon.gns3a appliance file:"
echo "- OpenNMS version.: $VERSION"