Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # ----------------------------------------------------------------------------- |
| 3 | # Exports the ONOS Tutorial VM into an OVA file for publishing. |
| 4 | # ----------------------------------------------------------------------------- |
| 5 | |
| 6 | export VER=1.12.0 |
| 7 | export OVA=/tmp/onos-tutorial-$VER.ova |
| 8 | rm -f $OVA |
| 9 | vboxmanage export "ONOS Tutorial" --output $OVA --manifest \ |
| 10 | --vsys 0 --product "ONOS" --vendor "Open Networking Foundation" --version "$VER" \ |
| 11 | --description "ONOS Basic Tutorial VM; 3 node cluster using docker; mininet topologies" |
| 12 | wc -c $OVA |