Просмотр исходного кода

Make the Vagrant provisioning process quieter

Benjamin Sago 8 лет назад
Родитель
Сommit
58b6d3e50c
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      Vagrantfile

+ 3 - 2
Vagrantfile

@@ -14,9 +14,10 @@ Vagrant.configure(2) do |config|
     config.vm.hostname = 'exa'
     config.vm.hostname = 'exa'
 
 
 
 
-    # Install the dependencies needed for exa to build.
+    # Install the dependencies needed for exa to build, as quietly as
+    # apt can do.
     config.vm.provision :shell, privileged: true, inline:
     config.vm.provision :shell, privileged: true, inline:
-        %[apt-get install -y git cmake libssl-dev libgit2-dev libssh2-1-dev curl attr pkg-config]
+        %[apt-get install -qq -o=Dpkg::Use-Pty=0 -y git cmake libssl-dev libgit2-dev libssh2-1-dev curl attr pkg-config]
 
 
 
 
     # Guarantee that the timezone is UTC -- some of the tests
     # Guarantee that the timezone is UTC -- some of the tests