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/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 <[email protected]> Authored: Wed Jul 3 18:31:16 2013 +0530 Committer: Sheng Yang <[email protected]> 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];
