Updated Branches: refs/heads/master-6-17-stable 24db8c896 -> 335294ce4
Fix file name in DnsMasqConfigCommand Signed-off-by: Abhinandan Prateek <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/335294ce Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/335294ce Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/335294ce Branch: refs/heads/master-6-17-stable Commit: 335294ce408369b6d2a31ffe6cdde486f649608b Parents: 24db8c8 Author: Harikrishna Patnala <[email protected]> Authored: Wed Jul 3 18:31:16 2013 +0530 Committer: Abhinandan Prateek <[email protected]> Committed: Wed Jul 3 20:44:32 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/335294ce/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 0d3a00b..fe32cee 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 @@ -2086,7 +2086,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];
