Skip to content

Commit

Permalink
Adds a script for the basic runner setup
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkratz committed Dec 5, 2023
1 parent c1b3b71 commit a65df56
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions runner-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

set -e

USERNAME=maxkratz

# utilities + sudo
apt-get update
apt-get install -yq sudo tmux htop wget grep sed gpg unzip tar
/sbin/adduser $USERNAME sudo

# VirtualBox
wget -O- -q https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmour -o /usr/share/keyrings/oracle_vbox_2016.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle_vbox_2016.gpg] http://download.virtualbox.org/virtualbox/debian bookworm contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

apt-get update
apt-get install -yq virtualbox-7.0

# Vagrant
apt-get install -yq vagrant

echo "=> Prerequisites installed. Ready for GitHub Actions runner installation."

0 comments on commit a65df56

Please sign in to comment.