Skip to content

Commit d17d979

Browse files
authored
chore(release): v1.5.0 (#112)
- Update version for release. - Added support for PowerShell 7.2 to allow running on SDDC Manager. - Updated documentation for installation on Linux in disconnected environments. - Fixed module dependency versions in the documentation. Signed-off-by: Ivaylo Ivanov <[email protected]>
1 parent ebdb0be commit d17d979

9 files changed

+32
-18
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release History
22

3-
## v1.4.1
3+
## v1.5.0
44

5-
> Release Date: Unreleased
5+
> Release Date: 2024-10-02
66
77
Bugfix:
88

VMware.CloudFoundation.PowerManagement.psd1

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'VMware.CloudFoundation.PowerManagement.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '1.4.1.1011'
14+
ModuleVersion = '1.5.0.1000'
1515

1616
# Supported PSEditions
1717
# CompatiblePSEditions = @()
@@ -31,8 +31,8 @@
3131
# Description of the functionality provided by this module
3232
Description = 'PowerShell Module for VMware Cloud Foundation Power Management'
3333

34-
# Minimum version of the Windows PowerShell engine required by this module
35-
PowerShellVersion = '7.4.0'
34+
# Minimum version of the PowerShell engine required by this module
35+
PowerShellVersion = '7.2.0'
3636

3737
# Name of the Windows PowerShell host required by this module
3838
# PowerShellHostName = ''

docs/documentation/getting-started/install.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Verify that your system has a [supported edition and version](./../index.md#powe
4646

4747
Prerequisite for module install on Linux Machine
4848

49-
```bash
50-
--8<-- "./docs/snippets/pre-req-linux.sh"
49+
```powershell
50+
--8<-- "./docs/snippets/pre-req-linux.ps1"
5151
```
5252

5353
From a system with an Internet connection, save the module dependencies from the PowerShell Gallery by running the following commands in the PowerShell console:
@@ -56,12 +56,17 @@ Verify that your system has a [supported edition and version](./../index.md#powe
5656
--8<-- "./docs/snippets/save-module-local-linux.ps1"
5757
```
5858

59-
From the system with an Internet connection, copy the module dependencies to a target system by running the following commands in the PowerShell console:
59+
From the system with an Internet connection, copy the `OfflineModules.tar.gz` archive to a target system's directory:
6060

6161
```bash
6262
--8<-- "./docs/snippets/copy-module-local-linux.sh"
6363
```
6464

65+
On the target system, extract the archive uploaded in the previous step by running the following commands:
66+
67+
```bash
68+
--8<-- "./docs/snippets/extract-module-local-linux.sh"
69+
```
6570
On the target system, import the module dependencies by running the following commands in the PowerShell console:
6671

6772
```powershell

docs/index.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,18 @@ The following table lists the required PowerShell module dependencies for this m
4949

5050
PowerShell Module | Version | Publisher | Reference
5151
-----------------------------------------------------|-----------|--------------|---------------------------------------------------------------------------
52-
[VMware.PowerCLI][psgallery-module-powercli] | >= 13.1.0 | Broadcom | :fontawesome-solid-book: &nbsp; [Documentation][developer-module-powercli]
53-
[PowerVCF][psgallery-module-powervcf] | >= 2.4.0 | Broadcom | :fontawesome-solid-book: &nbsp; [Documentation][docs-module-powervcf]
54-
[PoshSSH][psgallery-module-poshssh] | >= 3.0.4 | Carlos Perez | :fontawesome-brands-github: &nbsp; [GitHub][github-module-poshssh]
52+
[VMware.PowerCLI][psgallery-module-powercli] | >= 13.3.0 | Broadcom | :fontawesome-solid-book: &nbsp; [Documentation][developer-module-powercli]
53+
[PowerVCF][psgallery-module-powervcf] | >= 2.4.1 | Broadcom | :fontawesome-solid-book: &nbsp; [Documentation][docs-module-powervcf]
54+
[PowerValidatedSolutions][psgallery-module-pvs] | >= 2.11.0 | Broadcom | :fontawesome-solid-book: &nbsp; [Documentation][docs-module-pvs]
55+
[PoshSSH][psgallery-module-poshssh] | >= 3.0.8 | Carlos Perez | :fontawesome-brands-github: &nbsp; [GitHub][github-module-poshssh]
5556

5657
[docs-module-powervcf]: https://vmware.github.io/powershell-module-for-vmware-cloud-foundation
5758
[docs-vmware-cloud-foundation]: https://docs.vmware.com/en/VMware-Cloud-Foundation/index.html
59+
[docs-module-pvs]: https://vmware.github.io/power-validated-solutions-for-cloud-foundation/
5860
[microsoft-powershell]: https://docs.microsoft.com/en-us/powershell
5961
[psgallery-module-powercli]: https://www.powershellgallery.com/packages/VMware.PowerCLI
6062
[psgallery-module-powervcf]: https://www.powershellgallery.com/packages/PowerVCF
63+
[psgallery-module-pvs]: https://www.powershellgallery.com/packages/PowerValidatedSolutions
6164
[psgallery-module-power-management]: https://www.powershellgallery.com/packages/VMware.CloudFoundation.PowerManagement
6265
[psgallery-module-poshssh]: https://www.powershellgallery.com/packages/Posh-SSH
6366
[developer-module-powercli]: https://developer.vmware.com/tool/vmware-powercli
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scp -r /home/modules/* username@remote_host:/home/lab/.local/share/powershell/Modules/
1+
~/.local/share/powershell/Modules/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cd ~/.local/share/powershell/Modules/
2+
tar -zxvf OfflineModules.tar.gz
3+
rm -rf OfflineModules.tar.gz

docs/snippets/pre-req-linux.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$DownloadDir = "~/DownloadModules"
2+
mkdir $DownloadDir

docs/snippets/pre-req-linux.sh

-1
This file was deleted.
+7-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.3.0 -Path /home/modules -Repository PSGallery
2-
Save-Module -Name PowerVCF -MinimumVersion 2.4.1 -Path /home/modules -Repository PSGallery
3-
Save-Module -Name PowerValidatedSolutions -MinimumVersion 2.11.0 -Path /home/modules -Repository PSGallery
4-
Save-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Path /home/modules -Repository PSGallery
5-
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path /home/modules -Repository PSGallery
1+
Save-Module -Name VMware.PowerCLI -Path $DownloadDir -Repository PSGallery
2+
Save-Module -Name PowerVCF -Path $DownloadDir -Repository PSGallery
3+
Save-Module -Name Posh-SSH -Path $DownloadDir -Repository PSGallery
4+
Save-Module -Name PowerValidatedSolutions -Path $DownloadDir -Repository PSGallery
5+
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path $DownloadDir -Repository PSGallery
6+
cd $DownloadDir
7+
tar -zcvf OfflineModules.tar.gz *

0 commit comments

Comments
 (0)