Skip to content

Commit 879f8e0

Browse files
authored
Merge branch 'master' into patch-2
2 parents 23f890d + 76191e9 commit 879f8e0

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ For more information about bind mounts, please go onto the [Docker documentation
109109
| ---|---|
110110
| Package is out of date | Create a Pull Request or Issue |
111111
| New desired package | Create a Pull Request or Issue |
112-
| New desired Cloud Shell feature | Create an Issue |
112+
| New desired Cloud Shell feature | Create an [Discussion](https://github.com/Azure/CloudShell/discussions) |
113113
| Issue with one of the packages* | Talk to package owner & create a PR on their repo. |
114114
| Issue with how package interacts with Cloud Shell | Create a Pull Request OR GitHub Issue |
115115
| Security bug | See https://www.microsoft.com/en-us/msrc/faqs-report-an-issue |

linux/powershell/Dockerfile.Data.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
"AzureADMaxVersion": "2.9999.9999.9999",
88
"AzureADStandardMaxVersion": "0.0.9999.9999",
99
"SQLServerModuleMaxVersion": "21.9999.99999",
10-
"PowerBIMaxVersion": "1.9999.9999",
11-
"AzGuestConfigurationMaxVersion": "0.9999.9999"
12-
}
10+
"PowerBIMaxVersion": "1.9999.9999"
11+
}

linux/powershell/Invoke-PreparePowerShell.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $moduleList = @(
1818
"AzurePSDrive",
1919
"MicrosoftPowerBIMgmt",
2020
"Az",
21-
"Az.GuestConfiguration",
21+
"GuestConfiguration",
2222
"Microsoft.PowerShell.UnixCompleters",
2323
"Microsoft.PowerShell.SecretManagement",
2424
"Microsoft.PowerShell.SecretStore"

linux/powershell/setupPowerShell.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ try {
135135
# Install modules from PSGallery
136136
Write-Output "Installing modules from production gallery"
137137
PowerShellGet\Install-Module -Name AzurePSDrive @prodAllUsers
138-
PowerShellGet\Install-Module -Name Az.GuestConfiguration -MaximumVersion $script:dockerfileDataObject.AzGuestConfigurationMaxVersion -ErrorAction SilentlyContinue @prodAllUsers
138+
PowerShellGet\Install-Module -Name GuestConfiguration -MaximumVersion $script:dockerfileDataObject.GuestConfigurationMaxVersion -ErrorAction SilentlyContinue @prodAllUsers
139139
PowerShellGet\Install-Module -Name Microsoft.PowerShell.UnixCompleters @prodAllUsers
140140
PowerShellGet\Install-Module -AllowPreRelease -Force PSReadLine -Repository PSGallery # get psreadline beta
141141
PowerShellGet\Install-Module -Name Az.Tools.Predictor -Repository PSGallery

linux/tools.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN az aks install-cli \
3030

3131
# Download the latest terraform (AMD64), install to global environment.
3232
RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B36CBA91A2C0730C435FC280B0B441097685B676 \
33-
&& TF_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M ".current_version") \
33+
&& TF_VERSION=$(curl -s https://api.releases.hashicorp.com/v1/releases/terraform/latest | jq -r -M ".version") \
3434
&& wget -nv -O terraform.zip https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip \
3535
&& wget -nv -O terraform.sha256 https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_SHA256SUMS \
3636
&& wget -nv -O terraform.sha256.sig https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_SHA256SUMS.sig \

tests/PSinLinuxCloudShellImage.Tests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ Describe "PowerShell Modules" {
190190

191191
}
192192

193-
It "Az.GuestConfiguration PowerShell Module" {
193+
It "GuestConfiguration PowerShell Module" {
194194

195-
$module = Get-Module -Name Az.GuestConfiguration -ListAvailable
195+
$module = Get-Module -Name GuestConfiguration -ListAvailable
196196
$module | Should -Not -BeNullOrEmpty
197197

198-
# Az.GuestConfiguration module version must be 0.*.* or greater
199-
$module.Version -like "0.*.*" | Should -Be $true
198+
# GuestConfiguration module version must be 3.5.4 or greater
199+
$module.Version -ge '3.5.4' | Should -Be $true
200200
}
201201

202202
It "MicrosoftTeams PowerShell Module" {
@@ -236,7 +236,7 @@ Describe "PowerShell Modules" {
236236
@{ ModuleName = "AzureAD.Standard.Preview" }
237237
@{ ModuleName = "Az" }
238238
@{ ModuleName = "MicrosoftPowerBIMgmt" }
239-
@{ ModuleName = "Az.GuestConfiguration" }
239+
@{ ModuleName = "GuestConfiguration" }
240240
@{ ModuleName = "EXOPSSessionConnector" }
241241
@{ ModuleName = "MicrosoftTeams" }
242242
@{ ModuleName = "Microsoft.PowerShell.UnixCompleters" }

0 commit comments

Comments
 (0)