-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add support for building AlmaLinux 9 aarch64 parallels vagrant box #115
Conversation
Hi Paul, Thanks for the contribution! How the VirtualBox vagrant boxes works on the macOS / Arm64 (M1/M2) hosts ? |
Hi Elkhan, |
As I see from the changes, you also added the support for the virtualbox provider too. I wonder how the box is working on the Developer preview for macOS / Arm64 (M1/M2) hosts |
The virtualbox developer preview didn't seem to work when I tried it, but I will keep trying!
|
@paulmaunders what version of macOS you are using? I am getting CPU error as above in |
@srbala I am using Ventura 13.0.1 (22A400) VirtualBox does not work at all at the moment, but Parallels should build a box - it just fails to install the Parallels tools. |
@@ -10,7 +10,7 @@ variables { | |||
iso_checksum_8_ppc64le = "file:https://repo.almalinux.org/almalinux/8.7/isos/ppc64le/CHECKSUM" | |||
iso_url_9_x86_64 = "https://repo.almalinux.org/almalinux/9.1/isos/x86_64/AlmaLinux-9.1-x86_64-boot.iso" | |||
iso_checksum_9_x86_64 = "file:https://repo.almalinux.org/almalinux/9.1/isos/x86_64/CHECKSUM" | |||
iso_url_9_aarch64 = "https://repo.almalinux.org/almalinux/9.1/isos/aarch64/AlmaLinux-9.1-aarch64-boot.iso" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change back to boot iso. 750MB download vs 8GB, prefer to stay with boot iso.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paulmaunders Please make proposed change, I'll review again
@@ -142,7 +183,7 @@ build { | |||
ansible_env_vars = [ | |||
"ANSIBLE_PIPELINING=True", | |||
"ANSIBLE_REMOTE_TEMP=/tmp", | |||
"ANSIBLE_SSH_ARGS='-o ControlMaster=no -o ControlPersist=180s -o ServerAliveInterval=120s -o TCPKeepAlive=yes'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please roll back this change, since it affects all of the cloud-images build processes.
If you would like to propose the Ansible SSH options, create a separate PR/issue and justify it.
@@ -0,0 +1,64 @@ | |||
# AlmaLinux 9 aarch64 kickstart file for Vagrant boxes | |||
cdrom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KS file might need an update since it has to use the boot
iso and repo URLs.
@paulmaunders one more, if you can create PR from a fix-branch, instead of the master branch where you can squash the multiple commits Prior to PR. |
These changes add support for building 9/aarch64 vagrant boxes using the parallels provider so they can be run on M1 Macs. It mostly works, but the parallels tools do not seem to be installed correctly.