Guest User

Untitled

a guest
Dec 15th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. config.vm.provision "shell" do |s|
  2. s.inline = <<-SHELL
  3. <shell code>
  4. SHELL
  5. end
  6.  
  7. ==> default: mesg:
  8. ==> default: ttyname failed
  9. ==> default: :
  10. ==> default: Inappropriate ioctl for device
  11.  
  12. # Prevent TTY Errors (copied from laravel/homestead: "homestead.rb" file)... By default this is "bash -l".
  13. config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
  14.  
  15. mesg n || true
  16.  
  17. test -t 0 && mesg n
  18.  
  19. config.ssh.shell="bash"
Add Comment
Please, Sign In to add comment