Refactored first-boot script to remove dependency on exported variable, which appears to fail on Ubuntu 12.04.4 for some reason.