Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use vmware-vmx builder to build OpenBSD box for arm64 #41

Merged
merged 6 commits into from
Nov 27, 2023

Conversation

dentarg
Copy link
Contributor

@dentarg dentarg commented Nov 12, 2023

Uses the vmware-vmx builder as there is no ISO files built for arm64 releases currently.

Closes #39 as it changes the default mirror value.

Closes #38 too.

@dentarg
Copy link
Contributor Author

dentarg commented Nov 12, 2023

no ISO files built for arm64 releases currently

There probably will be for OpenBSD 7.5: https://marc.info/?l=openbsd-misc&m=169808954409925&w=2

There is ISO for snapshots: https://ftp.lysator.liu.se/pub/OpenBSD/snapshots/arm64/

@dentarg
Copy link
Contributor Author

dentarg commented Nov 12, 2023

I've uploaded the box to https://app.vagrantup.com/starkast/boxes/openbsd-7.1-arm64

Printed during "packer build ..."
@dentarg
Copy link
Contributor Author

dentarg commented Nov 19, 2023

Built OpenBSD 7.2 arm64 for VMware Fusion too: https://app.vagrantup.com/starkast/boxes/openbsd-7.2-arm64/versions/1.0.0

Copy link
Contributor

@vikiv480 vikiv480 left a comment

Choose a reason for hiding this comment

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

I managed to build an OpenBSD 7.3 box. Tested an internal Ansible playbook and I got it to work with some minor changes to the network setup.

Thank you, LGTM! 🎉

Co-authored-by: Viktor Ivarsson <[email protected]>
@dentarg dentarg changed the title Use vmware-vmx builder to build box for arm64 Use vmware-vmx builder to build OpenBSD box for arm64 Nov 27, 2023
@dentarg
Copy link
Contributor Author

dentarg commented Nov 27, 2023

What network setup changes did you have to do? Where?

@vikiv480
Copy link
Contributor

vikiv480 commented Nov 27, 2023

What network setup changes did you have to do? Where?

In our Ansible setup the internal IP-address was hard-coded to the default value for Virtualbox, I had a different default IP-address defined in /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf. I temporarily hard-coded the new IP-address in Ansible. EDIT: Used the values from ansible_default_ipv4.

I also encountered this issue during the setup of Nginx where I had to increase the server_names_hash_bucket_size from 32 to 64.

I didn't make any changes to twingly/boxes when building the box (other than changing the version to 7.3), I just had to configure our Ansible setup 🙂

@vikiv480 vikiv480 merged commit e19ca30 into twingly:master Nov 27, 2023
vikiv480 added a commit that referenced this pull request Nov 27, 2023
https://www.openbsd.org/plus73.html

Built and tested in Vagrant

Related: #41
@vikiv480 vikiv480 mentioned this pull request Nov 27, 2023
@dentarg
Copy link
Contributor Author

dentarg commented Nov 27, 2023

I also encountered this issue during the setup of Nginx where I had to increase the server_names_hash_bucket_size from 32 to 64.

Encountered that one too 😄

@dentarg dentarg deleted the arm64/openbsd71 branch November 27, 2023 19:27
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.

Configure /etc/installurl Bump Python
2 participants