Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #172 from dividehex/bug1243421
Browse files Browse the repository at this point in the history
Bug 1243421: Add yaml tags to window userdata for check_ami; r=grenade
  • Loading branch information
grenade committed Feb 1, 2016
2 parents 779cbce + e82819c commit 6a3e196
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions configs/b-2008.user-data
Expand Up @@ -137,3 +137,8 @@ Move-Item -path $runLog -destination ([IO.Path]::Combine($logDir, ('userdata-run
Move-Item -path $ec2Log -destination ([IO.Path]::Combine($logDir, ('ec2config-run-{{0}}.log' -f [DateTime]::Now.ToString("yyyyMMdd-HHmm"))))-ErrorAction SilentlyContinue
</powershell>
<persist>true</persist>
<mozuserdata>
# see bug 1243421
hostname: {fqdn}
moz_instance_type: {moz_instance_type}
</mozuserdata>
7 changes: 6 additions & 1 deletion configs/t-w732.user-data
Expand Up @@ -139,4 +139,9 @@ if (!($hostname.Contains("-spot-"))) {{
Move-Item -path $runLog -destination ([IO.Path]::Combine($logDir, ('userdata-run-{{0}}.log' -f [DateTime]::Now.ToString("yyyyMMdd-HHmm"))))-ErrorAction SilentlyContinue
Move-Item -path $ec2Log -destination ([IO.Path]::Combine($logDir, ('ec2config-run-{{0}}.log' -f [DateTime]::Now.ToString("yyyyMMdd-HHmm"))))-ErrorAction SilentlyContinue
</powershell>
<persist>true</persist>
<persist>true</persist>
<mozuserdata>
# see bug 1243421
hostname: {fqdn}
moz_instance_type: {moz_instance_type}
</mozuserdata>

0 comments on commit 6a3e196

Please sign in to comment.