Although the commands are very simple and just 2-3 steps but I keep forgetting them and hence wrote the following script:
The script takes input as “ova” filename and then creates the qcow2 image and finally a VM for you.
#!/bin/bash - #=============================================================================== # # FILE: ova2vm.sh # # USAGE: ./ova2vm.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: Amit Agarwal (aka), # ORGANIZATION: Mobileum # CREATED: 12/28/2017 13:59 # Last modified: Thu Dec 28, 2017 02:17PM # REVISION: --- #=============================================================================== set -o nounset # Treat unset variables as an error if [[ $# == 0 ]] then echo "
Continue reading