Skip to content

Conversation

@dwc0011
Copy link
Contributor

@dwc0011 dwc0011 commented Sep 9, 2025

Description

What code changed, and why?
Create a user controlled custom "manual-mount-command" option that when present will run in place of the packer-plugin-amazon's built in mounting steps (pre-mount/mount/post-mount).

Allows the user to define and use a more complicated mounting strategy while packer still manages overall workflow around interacting with the cloud apis and registering/creating images, abstracting that workflow across the different providers.

Resolved Issues

If your PR resolves any open issue(s), please indicate them like this so they will be closed when your PR is merged:

Closes #602

Rollback Plan

If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request?
No security control changes.

@dwc0011 dwc0011 requested a review from a team as a code owner September 9, 2025 19:35
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

@dwc0011 dwc0011 marked this pull request as draft September 9, 2025 19:37
dwc0011 added 4 commits September 9, 2025 15:45
@dwc0011
Copy link
Contributor Author

dwc0011 commented Sep 9, 2025

I am still trying to determine how best to implement an automated test and am open to suggestions.

@dwc0011 dwc0011 force-pushed the add-manual-mount-command-option branch from 9dacb62 to d835869 Compare September 9, 2025 20:10
dwc0011 added 2 commits September 9, 2025 16:13
…r should pass it via {{ .MountPath }} referenced in the manual-mount-command configuration to use it
@dwc0011 dwc0011 force-pushed the add-manual-mount-command-option branch from d835869 to 01f84ee Compare September 9, 2025 20:13
@dwc0011
Copy link
Contributor Author

dwc0011 commented Oct 2, 2025

@kp2099 @anurag5sh Do you have time to take a look at this functionality and PR and let me know if this is something that you would consider.
Thanks in advance!

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.

CHROOT Builder user controlled/defined "manual-mount-command" option to allow for total custom partitioning and mounting procedures

1 participant