[lib.sh] Support older jumpserver libvirt 27/60527/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 2 Aug 2018 15:32:27 +0000 (17:32 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 3 Aug 2018 14:19:29 +0000 (14:19 +0000)
commitc4156877d3f3f4f7efbca6e129bbeafdbe877d22
tree90d365403853893d26115423064362439afd012d
parentd453485ff3ddd9602b993a31dc950dc8dc5970d8
[lib.sh] Support older jumpserver libvirt

`virsh undefine` argument `--nvram` is only supported by newer
versions of libvirt.
Although this is mandatory for AArch64, for x86_64 this is not a
blocker (since we don't enable OVMF for the VMs on the jumpserver).

Change-Id: I3a82bc54b36228980a41d77a463a7558a685c03d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/lib.sh