exclude template from vm discovery

This commit is contained in:
Colin Gagnaire 2019-04-11 15:57:32 +02:00
parent 9329190dc4
commit 2c788ad23f
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ sub run {
next if (!defined($vms));
foreach my $vm (@{$vms}) {
next if ($vm->{'config.template'} eq 'true');
my %vm;
$vm{type} = "vm";