geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmart...@apache.org
Subject [geode-native] branch develop updated: GEODE-3036: Update packer script to add drive mapping
Date Tue, 20 Nov 2018 16:11:15 GMT
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 <mmartell@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")


Mime
View raw message