rhc-accept-node should check ~/.ssh/, .sandbox, .tmp and .env exists
Fixed with pull request: https://github.com/openshift/li/pull/401 Waiting for merge.
verified on devenv_2236 drwxr-x---. 3 root 73c93a2fe3994c8c8c4e5bdb6b210720 4096 Sep 26 13:52 .env d---------. 3 root root 4096 Sep 26 19:07 .sandbox drwxr-x---. 2 root 73c93a2fe3994c8c8c4e5bdb6b210720 4096 Sep 26 13:53 .ssh d---------. 3 root root 4096 Sep 26 19:07 .tmp
Verified it on devenv_2440 with the following steps: [root@ip-10-190-27-254 ~]# rhc-accept-node PASS [root@ip-10-190-27-254 diy1-2240t]# ls -a . .. app-root diy-0.1 diy1 .env git .gitconfig .m2 .sandbox .ssh .tmp [root@ip-10-190-27-254 diy1-2240t]# rm -rf .env [root@ip-10-190-27-254 diy1-2240t]# rm -rf .ssh/ [root@ip-10-190-27-254 diy1-2240t]# rm -rf .tmp/ [root@ip-10-190-27-254 diy1-2240t]# rm -rf .sandbox/ run rhc-accept-node to see if it will detect these removed files. [root@ip-10-190-27-254 diy1-2240t]# rhc-accept-node FAIL: directory beec1ff41a554d7b82c4b3c712dae534 doesn't have a .ssh directory FAIL: directory beec1ff41a554d7b82c4b3c712dae534 doesn't have a .env directory FAIL: directory beec1ff41a554d7b82c4b3c712dae534 doesn't have a .sandbox directory FAIL: directory beec1ff41a554d7b82c4b3c712dae534 doesn't have a .tmp directory 4 ERRORS Then the feature is added.