Skip to content

updated platform versions#1679

Merged
Stromweld merged 24 commits into
mainfrom
new-platform-versions
Jun 4, 2026
Merged

updated platform versions#1679
Stromweld merged 24 commits into
mainfrom
new-platform-versions

Conversation

@Stromweld

@Stromweld Stromweld commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Description

  • Updating platform versions
  • Fixes for packer plugin updates
  • Added test-kitchen as dep
  • Refactored bento test command to use test-kitchen directly vs shelling out

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
@Stromweld Stromweld self-assigned this May 27, 2026
Stromweld and others added 14 commits May 27, 2026 16:20
The VMware packer plugin now requires explicit `tools_mode` configuration.
This commit adds proper support for tools_mode with the following improvements:

1. **New Variable: `vmware_tools_mode`**
   - Defaults to "attach" for best performance (attaches ISO vs uploading)
   - Supports "attach", "upload", and "disable" modes
   - Attaching is faster than uploading the ISO into the guest

2. **New Variable: `vmware_tools_source_path`**
   - Path to VMware Tools ISO for "attach" mode
   - Auto-detects default paths based on host OS:
     - macOS: /Applications/VMware Fusion.app/Contents/Library/isoimages/
     - Linux: /usr/lib/vmware/isoimages/
   - Can be overridden by user for custom paths

3. **Conditional Upload Configuration**
   - `tools_upload_flavor` and `tools_upload_path` now only set when tools_mode is "upload"
   - Avoids conflicts when using "attach" or "disable" modes

**Benefits:**
- Resolves packer validation errors with latest VMware plugin
- Improves build performance by defaulting to "attach" mode
- Maintains backward compatibility for users who need "upload" mode
- Smart defaults based on guest OS and host OS detection

**Usage Examples:**
```hcl
# Default: attach mode with auto-detected path
# (no additional config needed)

# Custom attach path:
vmware_tools_mode = "attach"
vmware_tools_source_path = "/custom/path/to/vmware-tools.iso"

# Upload mode (previous behavior):
vmware_tools_mode = "upload"

# Disable tools:
vmware_tools_mode = "disable"
```

Fixes issues with packer vmware plugin requiring explicit tools_mode configuration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Stromweld added 4 commits June 1, 2026 14:09
…sting

Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Comment thread .github/workflows/packer-iso-url-checker.yml Dismissed
Comment thread .github/workflows/packer-iso-url-checker.yml Dismissed
@Stromweld Stromweld marked this pull request as ready for review June 4, 2026 23:09
@Stromweld Stromweld requested review from a team as code owners June 4, 2026 23:09
@Stromweld Stromweld requested a review from a team as a code owner June 4, 2026 23:09
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
@Stromweld Stromweld merged commit 0cf8167 into main Jun 4, 2026
181 of 339 checks passed
@Stromweld Stromweld deleted the new-platform-versions branch June 4, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants