You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ig...@apache.org on 2018/11/20 23:07:12 UTC
[geode-native] branch develop updated: GEODE-3036: Use correct name
for EC2 drive letter config file
This is an automated email from the ASF dual-hosted git repository.
igodwin pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 7521d2b GEODE-3036: Use correct name for EC2 drive letter config file
7521d2b is described below
commit 7521d2bd180e69db527d3bd0fa547a7e29918add
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Tue Nov 20 15:06:23 2018 -0800
GEODE-3036: Use correct name for EC2 drive letter config file
Co-authored-by: Ernest Burghardt <eb...@pivotal.io>
---
packer/windows/setup-ec2config.ps1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packer/windows/setup-ec2config.ps1 b/packer/windows/setup-ec2config.ps1
index 423e2f7..0851e64 100644
--- a/packer/windows/setup-ec2config.ps1
+++ b/packer/windows/setup-ec2config.ps1
@@ -20,7 +20,7 @@ $ec2config = [xml] (get-content 'C:\Program Files\Amazon\Ec2ConfigService\Settin
($ec2config.ec2configurationsettings.plugins.plugin | where {$_.name -eq "Ec2SetComputerName"}).state = "Enabled"
($ec2config.ec2configurationsettings.plugins.plugin | where {$_.name -eq "Ec2EventLog"}).state = "Enabled"
$ec2config.save("C:\Program Files\Amazon\Ec2ConfigService\Settings\config.xml")
-$ec2DiskConfig = [xml] (get-content 'C:\Program Files\Amazon\Ec2ConfigService\Settings\DiskConfig.xml')
+$ec2DiskConfig = [xml] (get-content 'C:\Program Files\Amazon\Ec2ConfigService\Settings\DriveLetterConfig.xml')
($ec2DiskConfig.DriveLetterMapping.Mapping.VolumeName).state = "Temporary Storage 0"
($ec2DiskConfig.DriveLetterMapping.Mapping.DriveLetter).state = "D:"
-$ec2DiskConfig.save("C:\Program Files\Amazon\Ec2ConfigService\Settings\DiskConfig.xml")
+$ec2DiskConfig.save("C:\Program Files\Amazon\Ec2ConfigService\Settings\DriveLetterConfig.xml")