Skip to content

Commit 5b37022

Browse files
author
Alexander Paliarush
committed
Fixed "stdin: is not a tty" warning
1 parent 4d8b18a commit 5b37022

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1818

1919
- Fixed permissions during Magento installation on Windows hosts
2020
- Fixed issue with Magento compiler on Windows hosts
21+
- Fixed "stdin: is not a tty" warning
2122

2223
### Added
2324

Vagrantfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ Vagrant.configure(VAGRANT_API_VERSION) do |config|
6969
host_vagrant_dir #7
7070
]
7171

72+
config.vm.provision "fix_no_tty", type: "shell", run: "always" do |s|
73+
s.privileged = false
74+
s.inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' /root/.profile"
75+
end
76+
7277
config.vm.provision "configure_environment", type: "shell" do |s|
7378
s.path = "scripts/provision/configure_environment.sh"
7479
s.args = shell_script_args

0 commit comments

Comments
 (0)