Fixed issue with vagrant sudo where it requires tty and adding some cleanup