The deletion of failed attempts was logged to files named like
ARRAY(0xa9dd98).log because the hostname was passed twice, i.e. as
arrayref (which didn't hurt otherwise).
my $hosts = $CONFIG{ 'hostname' };
foreach my $name (@$hosts)
{
- if ( $CONFIG{ 'no_xen_ok' } or !xenRunning($name, \%CONFIG) )
+ my %PER_HOST_CONFIG = %CONFIG;
+ $PER_HOST_CONFIG{ 'hostname' } = $name;
+ if ( $CONFIG{ 'no_xen_ok' } or !xenRunning($name, \%PER_HOST_CONFIG) )
{
deleteXenImage($name);
}