I found a lot of hard-coded paths in the Playbooks for using "/home/{{ non_root_user }}" and "/home/{{ ssh_user }}" for assumptions of the $HOME path. I have started to refactor the code to support using non-standard home directories which is helpful in the case of using /root. I also changed the "non_root_user" variable to be the "provision_user" to signify that it now *can* be a root user. The "non_root_user" can still used for backwards compatibility.
This work is being done in my fork and branch here:
Currently I still cannot get this to work and this requires further tweaking. I will be out of town for a few days and would appreciate having some other eyes looking into this. I am still very new to the TripleO-Quickstart project and at least have a strong background with using both Ansible and OpenStack.
I found a lot of hard-coded paths in the Playbooks for using "/home/{{ non_root_user }}" and "/home/{{ ssh_user }}" for assumptions of the $HOME path. I have started to refactor the code to support using non-standard home directories which is helpful in the case of using /root. I also changed the "non_root_user" variable to be the "provision_user" to signify that it now *can* be a root user. The "non_root_user" can still used for backwards compatibility.
This work is being done in my fork and branch here:
https:/ /github. com/ekultails/ tripleo- quickstart/ tree/root_ user_support
I am using this TripleO-Quickstart command for testing:
$ bash quickstart.sh --teardown none --no-clone --release trunk/newton -e "provision_ user=root" -e "ssh_user=root" -e "undercloud_ user=root" -e "overcloud_ user=root" -e "undercloud_ user_home= /root" --tags all -v 127.0.0.2
Currently I still cannot get this to work and this requires further tweaking. I will be out of town for a few days and would appreciate having some other eyes looking into this. I am still very new to the TripleO-Quickstart project and at least have a strong background with using both Ansible and OpenStack.