Christian Pape 7 years ago
parent
commit
af9ec13058
  1. 4
      gns3/create-appliance-file.sh

4
gns3/create-appliance-file.sh

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
VERSION="$1" 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 "Creating new opennms-horizon.gns3a appliance file:"
echo "- OpenNMS version.: $VERSION" echo "- OpenNMS version.: $VERSION"

Loading…
Cancel
Save