Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
buzztroll committed Apr 11, 2012
1 parent 087ebd2 commit 06cd1b4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ protected NIC[] getNICs(String networkName) throws CannotTranslateException {
final NIC[] nics;
if (networkName != null && !networkName.trim().equals("")) {
nics = new NIC[1];
networkName = networkName.trim();
logger.info("Using network name " + networkName);
nics[0] = this.oneRequestedNIC(networkName, "autoeth0");
}
else if (pubNet.equals(privNet)) {
Expand Down Expand Up @@ -521,6 +523,7 @@ protected void handleNetworking(VM vm,
String privateAssignedIp = null;
String publicAssignedIp = null;

logger.info("Using network " + netName);
if (this.networks.isPrivateNetwork(netName)) {
riit.setPrivateDnsName(hostname);
riit.setPrivateIpAddress(ipAddress);
Expand Down

0 comments on commit 06cd1b4

Please sign in to comment.