- Timestamp:
- Jul 18, 2018, 10:26:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ddt/ddt
r308 r309 729 729 $computer_db->{$domainset}[$computer_index] = { $mac => $attribute }; 730 730 ipamdb_save("$COMPUTER_YAML", $computer_db); 731 print "Info: Update host $host ->{'hostname'} MAC: $mac IP: $host->{'ip'}[OK]\n";731 print "Info: Update host $hostname MAC: $mac IP: $ip [OK]\n"; 732 732 exit; 733 733 } … … 748 748 $computer_db->{$domainset}[$computer_index] = { $mac => $attribute }; 749 749 ipamdb_save("$COMPUTER_YAML", $computer_db); 750 print "Info: Update host $host ->{'hostname'} MAC: $mac IP: $host->{'ip'}[OK]\n";750 print "Info: Update host $hostname MAC: $mac IP: $ip [OK]\n"; 751 751 exit; 752 752 } … … 787 787 $attribute->{'ip'} = $ip; 788 788 ipamdb_save("$COMPUTER_YAML", $computer_db); 789 print "Info: Update host $host ->{'hostname'} MAC: $mac IP: $host->{'ip'}[OK]\n";789 print "Info: Update host $hostname MAC: $mac_address IP: $ip [OK]\n"; 790 790 exit; 791 791 } … … 819 819 $attribute->{'hostname'} = $hostname; 820 820 ipamdb_save("$COMPUTER_YAML", $computer_db); 821 print "Info: Update host $host ->{'hostname'} MAC: $mac IP: $host->{'ip'}[OK]\n";821 print "Info: Update host $hostname MAC: $mac_address IP: $ip [OK]\n"; 822 822 exit; 823 823 }
Note: See TracChangeset
for help on using the changeset viewer.