Skip to content

Instantly share code, notes, and snippets.

@tuxology
Created November 20, 2015 01:54
Show Gist options
  • Save tuxology/0062b474a601e2281603 to your computer and use it in GitHub Desktop.
Save tuxology/0062b474a601e2281603 to your computer and use it in GitHub Desktop.
Kernel Development Vagrant Setup
#!/usr/bin/env bash
set -e
dnf update -y
dnf install -y vim
dnf install -y gcc make git
dnf install -y ncurses-devel
dnf install -y kernel-devel
Vagrant.configure(2) do |config|
config.vm.define :kerneldev do |kerneldev|
kerneldev.vm.box = "fedora/23-cloud-base"
kerneldev.vm.provider :libvirt do |domain|
domain.memory = 2048
domain.cpus = 4
end
config.vm.provision :shell, :path => "bootstrap.sh"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment