Skip to content

Instantly share code, notes, and snippets.

Avatar

Davide Bortolami ddavidebor

View GitHub Profile
View scaleway-virtualbox-module-build.sh
#!/bin/bash
# Expects Ubuntu 16.06 (xenial) and kernel 4.x.
# Based upon a blog post by Zach at http://zachzimm.com/blog/?p=191
set -eux
# Have the user call sudo early so the credentials is valid later on
sudo whoami