Add back ssm.exe. It is needed for VMtools

This commit is contained in:
Twangboy 2023-03-01 16:01:30 -07:00 committed by Pedro Algarvio
parent 6b9463836e
commit 1d6379a759
2 changed files with 3 additions and 2 deletions

View file

@ -153,7 +153,8 @@ if ( $PKG ) {
}
}
if ( $PKG ) {
# Make sure ssm.exe is present. This is needed for VMtools
if ( ! (Test-Path -Path "$BUILD_DIR\ssm.exe") ) {
Write-Host "Copying SSM to Root: " -NoNewline
Invoke-WebRequest -Uri "$SALT_DEP_URL/ssm-2.24-103-gdee49fc.exe" -OutFile "$BUILD_DIR\ssm.exe"
if ( Test-Path -Path "$BUILD_DIR\ssm.exe" ) {

View file

@ -223,7 +223,7 @@ def set_salt_version(
)
def pre_archive_cleanup(ctx: Context, cleanup_path: str, pkg: bool = False):
"""
Clean the provided path of paths that shouyld not be included in the archive.
Clean the provided path of paths that should not be included in the archive.
For example: