Thanks, does this above script work with Debian 7 and Ubuntu 12.04?
Sorry to keep asking specific questions, but I think it's important that we can provide up-to-date "as easy as possible instructions" on the wiki to maximize a successful deployment :)