Created
November 20, 2015 01:54
-
-
Save tuxology/0062b474a601e2281603 to your computer and use it in GitHub Desktop.
Kernel Development Vagrant Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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