Skip to content

Fedora Vagrant boxes for aarch64 with Parallels provider

Notifications You must be signed in to change notification settings

dogukancagatay/fedora-boxes-aarch64

Repository files navigation

Fedora Parallels Vagrant Boxes for Mac aarch64 (arm64)

Generic Fedora Vagrant boxes for arm64/aarch64 Macs with Parallels Provider. For X86_64 boxes, you can check here.

The maintained/updated Fedora versions are listed below. The box version indicates the configuration version.

You can access all available versions on https://app.vagrantup.com/dcagatay

Vagrant Boxes

Running

Initialize a Vagrantfile and start your VM.

vagrant init dcagatay/fedora-40-aarch64
vagrant up

SSH into the VM.

vagrant ssh

Changelog

  • 0.0.9 2024-10-23
    • Add Fedora 41 BETA box with kernel 6.11.5 and Parallels Tools 20.1.55732.
    • Update Fedora 40 box (0.0.9) with kernel 6.11.4 and Parallels Tools 20.1.55732.
    • Update Fedora 39 box (0.0.9) with kernel 6.11.4 and Parallels Tools 20.1.55732.
  • 0.0.8 2024-05-21
    • Remove optional packages vim and wget from the installed packages.
    • Add Fedora 38 to the EOL list.
    • Update Fedora 39 box (0.0.8) with kernel 6.8.9 and Parallels Tools 19.3.1.54941.
    • Add Fedora 40 box with kernel 6.8.9 and Parallels Tools 19.3.1.54941.
  • 0.0.7 2023-10-31
    • Fedora 39 (Kernel 6.5.10 and Parallels Tools 19.1.0) build added to the Vagrant Cloud (2023-11-09)
    • Updated Fedora 37 and 38 kernel to 6.5.8
    • Updated Vagrantfile templates attached to the built boxes
    • Fixed hostname setting
    • Fedora 39b build updated on Vagrant Cloud (2023-10-31)
    • Fedora 38 build updated on Vagrant Cloud (2023-10-31)
    • Fedora 37 build updated on Vagrant Cloud (2023-10-31)
  • 0.0.6 2023-10-20
    • Parallels tools upgraded to 19.1.0
    • File system changed from XFS to BTRFS
    • Removed unused HyperV specific kickstart config
    • Removed bfq scheduler config
    • Fedora 39b build added to Vagrant Cloud (2023-10-20)
    • Fedora 38 build updated (2023-10-24)
    • Fedora 37 build updated (2023-10-24)
  • 0.0.5 2023-03-25
    • Fedora 38 added to Vagrant Cloud (2023-04-20)
    • Fedora 38 Beta version added to Vagrant Cloud
    • Updated Fedora 35 repository addresses with archive URLs
    • Parallels tools upgraded to 18.2.0
  • 0.0.4
    • Parallels tools upgraded to 18.1.0
  • 0.0.3
    • Some script rearrangements.
  • 0.0.2
    • Fixed Parallels virtual disk snapshot compaction/merger issue.
    • Add cloud-utils-growpart package.
  • 0.0.1
    • Initial alpha release.

Building Vagrant Box

Prerequisites

The prerequisites to build the Vagrant box.

  • Packer (brew tap hashicorp/tap && brew install hashicorp/tap/packer)
  • Parallels Desktop (brew install --cask parallels)
  • Parallels Virtualization SDK (brew install --cask parallels-virtualization-sdk)
  • Vagrant (brew install --cask vagrant) For testing
    • Vagrant Parallels Plugin (vagrant plugin install vagrant-parallels)

Build

To build a specific box, run the following:

# Install packer plugins
make init
# Build box
# e.g. make box=fedora37 build-box
make box=<box-type> build-box

<box-type can be one of the following:

Testing

A sample Vagrantfile is included in the repository, but it is just for reference and meant to be used for local tests. Add it to the box in your local Vagrant registry, and start the VM.

make box=fedora37 import
make box=fedora37 run
make box=fedora37 vm-info

You can stop and remove the VM using the following command:

make box=fedora37 destroy

Uploading Box

Example command:

./upload-box.sh fedora-37-aarch64 0.0.5 "Update parallels tools to 18.2.0" ./output/generic-fedora37-aarch64-parallels-0.0.5.box

Troubleshooting

Error: Failed creating Parallels driver: Parallels Virtualization SDK is not installed (Fixed)

If you get the error in the title after installing the Parallels Virtualization SDK, you hit the bug explained here.

You can resolve the issue by creating a symlink from Python 3.7 site packages to your recent version of Python.

First, find out syspath of your python3.

/usr/bin/python3 -m site

Determine the path to your python3 site-packages directory from the output of previous command, modify and run the symlink creating command below.

sudo ln -s \
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prlsdkapi.pth \
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/prlsdkapi.pth

Credits

  • This repository is a very stripped-down version of lavabit/robox.

About

Fedora Vagrant boxes for aarch64 with Parallels provider

Resources

Stars

Watchers

Forks

Packages

No packages published