You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2013/07/24 23:00:15 UTC

[4/4] git commit: updated refs/heads/4.2 to 42346cd

Fix file name in DnsMasqConfigCommand

Signed-off-by: Abhinandan Prateek <ap...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/820a5e09
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/820a5e09
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/820a5e09

Branch: refs/heads/4.2
Commit: 820a5e09dc91ab73f8712dc0844700c0470fcc30
Parents: d09a088
Author: Harikrishna Patnala <ha...@citrix.com>
Authored: Wed Jul 3 18:31:16 2013 +0530
Committer: Sheng Yang <sh...@citrix.com>
Committed: Wed Jul 24 13:59:58 2013 -0700

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/vmware/resource/VmwareResource.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/820a5e09/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
index 8c5080e..a7c0130 100755
--- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
@@ -2138,7 +2138,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
 
         DnsMasqConfigurator configurator = new DnsMasqConfigurator();
         String [] config = configurator.generateConfiguration(cmd);
-        String tmpConfigFilePath = "/tmp/"+ routerIp.replace(".","-")+".cfg";
+        String tmpConfigFilePath = "/tmp/"+ routerIp.replace(".","_")+".cfg";
         String tmpConfigFileContents = "";
         for (int i = 0; i < config.length; i++) {
             tmpConfigFileContents += config[i];