Ver código fonte

Merge pull request #998 from dotcloud/861-hack-vagrant

Fixing hack/Vagrantfile to use uname for aufs linux extras
Daniel Mizyrycki 12 anos atrás
pai
commit
aee845682f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      hack/Vagrantfile

+ 1 - 1
hack/Vagrantfile

@@ -22,7 +22,7 @@ Vagrant::Config.run do |config|
   pkg_cmd = "touch #{DOCKER_PATH}; "
   # Install docker dependencies
   pkg_cmd << "export DEBIAN_FRONTEND=noninteractive; apt-get -qq update; " \
-    "apt-get install -q -y lxc git aufs-tools golang make linux-image-extra-3.8.0-19-generic; " \
+    "apt-get install -q -y lxc git aufs-tools golang make linux-image-extra-`uname -r`; " \
     "chown -R #{USER}.#{USER} #{GOPATH}; " \
     "install -m 0664 #{CFG_PATH}/bash_profile /home/#{USER}/.bash_profile"
   config.vm.provision :shell, :inline => pkg_cmd