Skip to content

Instantly share code, notes, and snippets.

View akinsella's full-sized avatar

Alexis K. akinsella

View GitHub Profile

Vagrant and VMWare Tech Preview on Apple M1 Pro

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22

Installing Rosetta

First install Rosetta if not already done, this is needed to run x86 code:

@akinsella
akinsella / run-vagrant-on-mac-m1.md
Last active June 8, 2023 11:58
Proposed solution to run Vagrant successfully on Mac M1

Mumshad Mannambeth ( @mmumshad ) proposes, in his Udemy CKA course, to install Kubernetes with kubeadm on local machine. As more and more Mac machines are based on M1 CPUs chips, this Gist proposes a solution to get Vagrant working on Mac M1.

Problem statement: Virtualbox is not supported at the time on M1 chips, as a result, it is not possible to train on local machine. Alternative options for virtualization on Mac are vMWare Fusion or Parallels, or you have to run the workshop on some Cloud Provider (For example: Digital Ocean, Scaleway, Vultr or OVH)

Notice: Provided instructions may not be fully exhaustive, however all required elements should be there to manage to get it work on Mac M1 ( It works on my machine ... 😅 )

I tried with success an installation based on Vagrant + VMWare

@akinsella
akinsella / MusicPlayer.java
Last active April 13, 2022 21:53
SWT Music Player
import java.io.File;
import java.io.FileFilter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;