Addressing the #2 security concerns reported by @tvibliani about the user created with the script. This is made that way because this is a “system” user. It is there to own and run the application, it isn’t supposed to be a person type user with a login etc. In Ubuntu, a system user gets a UID below 1000, has no shell (it’s actually /bin/false) and has logins disabled.
Added the "--depth 1" to the command so it only retrieves the latest version without all the repository history, which makes the download quite a bit quicker, and uses less space in disk, making it suitable for a production environment.
Added:
- Odoo is now automatically started at the end of the install script
- The terminal now shows an overview with all details about the freshly installed Odoo. This will give you a good insight and will also show possible errors that you might have made.