21
6
When using this snippet (inline shell provisioner):
config.vm.provision "shell" do |s|
s.inline = <<-SHELL
<shell code>
SHELL
end
it results in:
==> default: mesg:
==> default: ttyname failed
==> default: :
==> default: Inappropriate ioctl for device
It looks like that other people have found this issue as well. Does anybody know how to solve it?
I noticed that even this message was shown as an error, the script was executed successfully! A few days later I saw a possible fix and I posted an answer here. So maybe you just don't need it, but you can try it and use it if it works for you.
– Minister – 2017-02-22T16:37:13.983@Minister Thank you. It solves the issue. Could you remove the answer from SO and post it on SuperUser? Stackoverflow is about programming. – 030 – 2017-02-23T15:55:20.910
I'm glad the solution also works for you! Thank you for your quick confirmation! I've just posted an answer here, but I'm not sure whether I have to remove my answer from SO or a moderator should move the question from SO here on SU? I'm OK if someone with appropriate permissions edit/delete my answer there, but it may help someone else, so I'm leaving it "as is" for now, realizing it's some kind a duplicate (as the question seems like)... – Minister – 2017-02-23T19:35:32.670