You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ap...@apache.org on 2013/07/03 17:14:05 UTC

git commit: updated refs/heads/master to d2739cd

Updated Branches:
  refs/heads/master 9ba36fd17 -> d2739cde2


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/d2739cde
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d2739cde
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d2739cde

Branch: refs/heads/master
Commit: d2739cde2ed824ee2477bcd3ac4016f84e365990
Parents: 9ba36fd
Author: Harikrishna Patnala <ha...@citrix.com>
Authored: Wed Jul 3 18:31:16 2013 +0530
Committer: Abhinandan Prateek <ap...@apache.org>
Committed: Wed Jul 3 20:43:42 2013 +0530

----------------------------------------------------------------------
 .../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/d2739cde/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 f60882d..ab30ec7 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
@@ -2118,7 +2118,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];