Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 2.25 KB

README.md

File metadata and controls

79 lines (50 loc) · 2.25 KB

TurkNet Base Images

TurkNet-DevOps Vagrant Box Packer Builds

Vagrant Cloud images (https://app.vagrantup.com/turknet-devops)

All of these boxes are available as public, free Vagrant boxes and can be used with the command:

vagrant init turknet-devops/[box name here]
vagrant up

Vagrant Plugin List: https://vagrant-lists.github.io

Usage

Packer

Make sure all the required software (listed above) is installed, then cd into one of the box directories and run:

Build Command:

packer build ./packer.parallels.json

Packer Plugin Install:

https://www.packer.io/docs/commands/plugins/install

https://www.packer.io/docs/plugins#create-a-required_plugins-block

Testing built boxes

There's an included Vagrantfile that allows quick testing of the built Vagrant boxes. From the same box directory, run the following command after building the box:

  vagrant up

Test that the box works correctly, then tear it down with:

  vagrant destroy -f

Checksum SHA256

  shasum -a 256 ubuntu-20.04-arm64.parallels.box

Error

  1. "Build 'ubuntu-2004' errored after 41 milliseconds 278 microseconds: Failed creating Parallels driver: Parallels Virtualization SDK is not installed"
sudo ln -s /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prlsdkapi.pth /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/prlsdkapi.pth

Requirements

The following software must be installed/present on your local machine before you can use Packer to build any of these Vagrant boxes:

References