paulmaunders / bento-almalinux9-arm-only

A basic version of a Bento packer template for building almalinux 9 arm only

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bento-almalinux9-arm-only

These scripts are a basic version of Bento's packer template for building an almalinux 9 box for m1/m2 arm Macs.

It fixes the SSH key insertion in vagrant.sh which otherwise fails as a result of the reboot happening in update.sh. Presumably this is because the network is not ready when it tries to download the vagrant key.

The solution was to move the update.sh script to it's own provisioner block and add a "pause_after": "30s" setting.

Steps to test

packer build -debug almalinux-9.0-aarch64.json
vagrant box add -f builds/almalinux-9.0.parallels.box builds/almalinux-9.0.parallels.box
vagrant up

About

A basic version of a Bento packer template for building almalinux 9 arm only

License:Apache License 2.0


Languages

Language:Shell 100.0%