Shopfloor cleanups: drop OpenText CSF + MarkZebra, gitignore eMxInfo

- Delete 02-OpenTextCSF.ps1 (CSF profile delivery moved to Intune YAML's
  CopyFiles section in main/device-config.yaml — no longer needed at the
  PXE/baseline layer)
- Strip MarkZebra install + post-config from 01-eDNC.ps1 (no longer
  needed; only eDNC core install + Dnc x86→x64 mirror + Site reg + eMxInfo
  deployment remain). Section numbering tightened.
- Add SITESELECTED="West Jefferson" to eDNC msiexec args so the MSI's
  site-specific Components (NtLarsWjfRegComp — FTP/FMS/PPDCS hosts +
  credentials) actually install. Without it, only the bare Site value was
  being set and all the connection details were unconfigured.
- gitignore: blanket-block any **/eMxInfo*.txt from being committed —
  the file contains obfuscated eDNC site credentials and must never go
  in git. Canonical source lives at /home/camp/pxe-images/main/eMxInfo.txt
  outside the repo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-04-08 14:05:52 -04:00
parent 05fa74574a
commit 9c54307b1b
3 changed files with 10 additions and 83 deletions

View File

@@ -1,51 +0,0 @@
# 02-OpenTextCSF.ps1 — Deploy OpenText HostExplorer CSF profiles (baseline)
# Copies connection profiles, keymaps, menus, and macros to ProgramData.
$setupDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$csfSource = Join-Path $setupDir "csf"
$destRoot = "C:\ProgramData\Hummingbird\Connectivity\15.00\Shared"
if (-not (Test-Path $csfSource)) {
Write-Warning "CSF source folder not found at $csfSource - skipping."
return
}
Write-Host "Deploying OpenText CSF profiles to $destRoot ..."
# Map of source subdirectories to destination subdirectories
$folders = @(
@{ Src = "Profile"; Dest = "Profile" }
@{ Src = "Accessories\EB"; Dest = "Accessories\EB" }
@{ Src = "HostExplorer\Keymap"; Dest = "HostExplorer\Keymap" }
@{ Src = "HostExplorer\Menu"; Dest = "HostExplorer\Menu" }
)
foreach ($folder in $folders) {
$src = Join-Path $csfSource $folder.Src
$dest = Join-Path $destRoot $folder.Dest
if (-not (Test-Path $src)) {
Write-Host " Skipping $($folder.Src) (not present in csf source)"
continue
}
if (-not (Test-Path $dest)) {
New-Item -Path $dest -ItemType Directory -Force | Out-Null
Write-Host " Created $dest"
}
$files = Get-ChildItem -Path $src -File
foreach ($file in $files) {
Copy-Item -Path $file.FullName -Destination $dest -Force
Write-Host " Copied $($file.Name) -> $dest"
}
}
# Copy pre-made .lnk shortcuts to Public Desktop
$lnkFiles = Get-ChildItem -Path $csfSource -Filter "*.lnk" -File
foreach ($lnk in $lnkFiles) {
Copy-Item -Path $lnk.FullName -Destination "C:\Users\Public\Desktop" -Force
Write-Host " Copied $($lnk.Name) -> Public Desktop"
}
Write-Host "OpenText CSF deployment complete."