I've found the problem. The HOME environment variable was not available at /etc/rc.local time, so the installer could not proceed. I set the HOME variable to /usr/local and then everything run successfully. Now itś working in its final form, via AWS Cloudformation scripts.
[]s,
[]s,