You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mm...@apache.org on 2018/11/20 16:11:15 UTC

[geode-native] branch develop updated: GEODE-3036: Update packer script to add drive mapping

This is an automated email from the ASF dual-hosted git repository.

mmartell 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 e456a0b  GEODE-3036: Update packer script to add drive mapping
e456a0b is described below

commit e456a0be1b87a09df04f10a1eff3673c7153e6f2
Author: Mike Martell <mm...@pivotal.io>
AuthorDate: Tue Nov 20 08:11:39 2018 -0800

    GEODE-3036: Update packer script to add drive mapping
---
 packer/windows/setup-ec2config.ps1 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/packer/windows/setup-ec2config.ps1 b/packer/windows/setup-ec2config.ps1
index 4fefd66..423e2f7 100644
--- a/packer/windows/setup-ec2config.ps1
+++ b/packer/windows/setup-ec2config.ps1
@@ -20,3 +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.DriveLetterMapping.Mapping.VolumeName).state = "Temporary Storage 0"
+($ec2DiskConfig.DriveLetterMapping.Mapping.DriveLetter).state = "D:"
+$ec2DiskConfig.save("C:\Program Files\Amazon\Ec2ConfigService\Settings\DiskConfig.xml")