Scripts ripped from https://github.com/boot2docker/boot2docker/blob/master/doc/WORKAROUNDS.md