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 | |
Thomas Vachuska | e7013e9 | 2018-09-12 01:18:43 -0700 | [diff] [blame] | 6 | export VER=1.14.0 |
Thomas Vachuska | c419f0e | 2018-02-07 14:24:46 -0800 | [diff] [blame] | 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 |