--- lib/PXElator/amt.pm 2009/08/30 22:46:57 385 +++ lib/PXElator/amt.pm 2010/01/05 17:26:34 473 @@ -26,6 +26,12 @@ $ENV{AMT_PASSWORD} = $passwd; $ENV{AMT_HOST} = $ip; + + my $hostname = client::conf( $client_ip => 'hostname' ) || $client_ip; + + client::conf( $ip => 'hostname', default => "amt-$hostname" ); + + return $ip; } sub power_state {