You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2024/12/03 08:25:47 UTC
(couchdb-infra-cm) 03/04: Use ubuntu user instead of root
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch update-x86-workers
in repository https://gitbox.apache.org/repos/asf/couchdb-infra-cm.git
commit 8795f98d458f2cfa4374328626012dcdde9c06f1
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Tue Dec 3 03:20:40 2024 -0500
Use ubuntu user instead of root
* Replaced bastion and made it an ubuntu 22.04 along with others
* Can now use ubuntu user instead of root
---
tools/gen-config | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/gen-config b/tools/gen-config
index 0d15447..93cc04f 100755
--- a/tools/gen-config
+++ b/tools/gen-config
@@ -186,7 +186,7 @@ def load_bastion(bastions, instance):
"num_cpus": instance["vcpu"]["count"],
"ram": instance["memory"]
},
- "user": "root"
+ "user": "ubuntu"
}
@@ -221,7 +221,7 @@ def load_ci_agent(ci_agents, instance):
"num_cpus": instance["vcpu"]["count"],
"ram": instance["memory"]
},
- "user": "root"
+ "user": "ubuntu"
}
def load_s390x_ci_agent(ci_agents, instance):
@@ -328,7 +328,7 @@ def write_ssh_cfg(filename, bastions, ci_agents):
Hostname {ip_addr}
User {user}
StrictHostKeyChecking no
- ProxyCommand /usr/bin/ssh -W %h:%p -q root@{bastion_host}
+ ProxyCommand /usr/bin/ssh -W %h:%p -q ubuntu@{bastion_host}
""")
with open(filename, "w") as handle: