weizhouapache commented on code in PR #478:
URL: 
https://github.com/apache/cloudstack-documentation/pull/478#discussion_r1998585373


##########
source/installguide/configuration.rst:
##########
@@ -493,7 +493,7 @@ Basic Zone Configuration
 
       Before adding the host in CloudStack do the following,
 
-         - Copy the SSH public key from 
/var/cloudstack/management/.ssh/id_rsa.pub on the management server
+         - Copy the SSH public key from 
/var/lib/cloudstack/management/.ssh/id_rsa.pub on the management server

Review Comment:
   the `cloud` user is created by cloudstack.
   
   I tested on two management servers. 
   the `cloud` users have different home directories on ubuntu and rocky. This 
is why I suggested.
   
   - ubuntu 24.04
   ```
   # ls -l ~cloud/.ssh/id_rsa.pub 
   -rw-r--r-- 1 cloud cloud 594 Mar 14 16:19 
/var/lib/cloudstack/management/.ssh/id_rsa.pub
   ```
   
   - rocky8
   ```
   # ls -l ~cloud/.ssh/id_rsa.pub 
   -rw-r--r--. 1 cloud cloud 202 Mar 14 10:14 
/var/cloudstack/management/.ssh/id_rsa.pub
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to