upgraded kernel to 3.5.0-25 to fix a kernel bug

Upstream-commit: 94baf2c5b9b2eb49b554d933f9997da072905d88
Component: engine
This commit is contained in:
Ken Cochrane
2013-03-12 12:05:04 -07:00
parent 46579cb546
commit a31b72360d
2 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -7,11 +7,11 @@ Vagrant::Config.run do |config|
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "quantal64"
config.vm.box = "quantal64_3.5.0-25"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://unworkable.org/~niallo/quantal64.box"
config.vm.box_url = "http://get.docker.io/vbox/ubuntu/12.10/quantal64_3.5.0-25.box"
# Boot with a GUI so you can see the screen. (Default is headless)
# config.vm.boot_mode = :gui
@@ -7,7 +7,11 @@ class docker {
Package { ensure => "installed" }
package { ["lxc", "debootstrap", "wget", "bsdtar", "git"]: }
package { ["lxc", "debootstrap", "wget", "bsdtar", "git",
"linux-image-3.5.0-25-generic",
"linux-image-extra-3.5.0-25-generic",
"virtualbox-guest-utils",
"linux-headers-3.5.0-25-generic"]: }
notify { "docker_url = $docker_url": withpath => true }
@@ -50,6 +54,11 @@ class docker {
creates => "/usr/local/bin/dockerd"
}
exec { "vbox-add" :
require => Package["linux-headers-3.5.0-25-generic"],
command => "/etc/init.d/vboxadd setup",
}
service { "dockerd" :
ensure => "running",
start => "/sbin/initctl start dockerd",