Fixing sudo requiretty issue for provisioning script