Selaa lähdekoodia

update ssh configuration

reduce timeouts in vagrantfile; sadly no way to disable communicators
Casey DeLorme 5 vuotta sitten
vanhempi
säilyke
1a7d532ee3
2 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 3 2
      Vagrantfile
  2. 1 1
      install/etc/skel/.ssh/config

+ 3 - 2
Vagrantfile

@@ -1,9 +1,10 @@
 Vagrant.configure("2") do |config|
 	config.vm.box_url = "file://" + File.dirname(__FILE__) + "/dist/arch-desktop.box"
 	config.vm.box = "arch-desktop"
-	config.vm.boot_timeout = 30
-	config.ssh.insert_key = false
+	config.vm.boot_timeout = 1
+	config.vm.graceful_halt_timeout = 1
 	config.vm.synced_folder '.', '/vagrant', disabled: true
+	config.ssh.insert_key = false
 	config.vm.provider "virtualbox" do |v|
 		v.gui = true
 		v.memory = 2048

+ 1 - 1
install/etc/skel/.ssh/config

@@ -1,7 +1,7 @@
 Host *
 	ControlMaster auto
 	ControlPath ~/.ssh/%r@%h:%p
-	CompressionLevel 9
+	Compression yes
 	ControlPersist 2h
 	ServerAliveInterval 60
 	ForwardAgent yes