AlmaLinux / cloud-images

Packer templates and other tools for building AlmaLinux images for various cloud platforms.
MIT License
146 stars 48 forks source link

Improve portability of vagrant libvirt boxes #162

Closed LKHN closed 8 months ago

LKHN commented 8 months ago

Remove "connect_via_ssh", "username" and "storage_pool_name" settings for the Libvirt environments where these values can be different. Only define rsync as a type of synced folder to give more out of box experience for the VM creation. These are two options are present in the Vagrantfile of the boxes; "driver" which is set as kvm by Packer and the synced_folder types. Both them can be overridden by user's Vagrantfile.

Update file extension of Vagrantfile templates from "tpl" to "rb" to enable syntax highlighting.

Fixes #157