Skip to content

Post-processor export Parallels macvm#106

Merged
lbajolet-hashicorp merged 1 commit intohashicorp:mainfrom
SztivT:export-parallels-macvm
Jan 9, 2024
Merged

Post-processor export Parallels macvm#106
lbajolet-hashicorp merged 1 commit intohashicorp:mainfrom
SztivT:export-parallels-macvm

Conversation

@SztivT
Copy link

@SztivT SztivT commented Dec 27, 2023

Reason for the change

packer-plugin-parallels supports building of m1 macOS virtual machines, alas, without this change the default workflow succeeds with an invalid box, not containing the VM.

What changed

Rephrased regex pattern for vm file path including pvm and macvm in a search group.

Make the post-processor able to create vagrant box from M1 macOS images.
@SztivT SztivT requested a review from a team as a code owner December 27, 2023 09:46
@hashicorp-cla
Copy link

hashicorp-cla commented Dec 27, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @SztivT,

Thanks for this contribution!

I would argue that the post-processor should fail when no file has been extracted (which does not seem to be the case surprisingly), but this can be fixed aside from your contribution.

I'll open a PR for that shortly, in the meantime I'll merge this once tests are green.

Thanks again!

@lbajolet-hashicorp lbajolet-hashicorp merged commit df8fc09 into hashicorp:main Jan 9, 2024
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.

3 participants