Signed-off-by: Zhang Yale ylzhangah@qq.com --- doc/manual/borrow-machine.zh.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/manual/borrow-machine.zh.md b/doc/manual/borrow-machine.zh.md index 04be9cf..578bfe3 100644 --- a/doc/manual/borrow-machine.zh.md +++ b/doc/manual/borrow-machine.zh.md @@ -207,14 +207,14 @@ suite: borrow testcase: borrow
+ pub_key: <%= + begin + File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp + rescue + nil + end + %> sshd: - pub_key: <%= - begin - File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp - rescue - nil - end - %> # sleep at the bottom sleep: 1h hi684@account-vm ~/lkp-tests/jobs% grep sleep: borrow-1h.yaml
Just renamed pub_key to ssh_pub_key to be more exact.
On Thu, Dec 10, 2020 at 01:58:48PM +0800, Zhang Yale wrote:
Signed-off-by: Zhang Yale ylzhangah@qq.com
doc/manual/borrow-machine.zh.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/manual/borrow-machine.zh.md b/doc/manual/borrow-machine.zh.md index 04be9cf..578bfe3 100644 --- a/doc/manual/borrow-machine.zh.md +++ b/doc/manual/borrow-machine.zh.md @@ -207,14 +207,14 @@ suite: borrow testcase: borrow
- pub_key: <%=
begin
File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp
rescue
nil
end
sshd:%>
pub_key: <%=
begin
File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp
rescue
nil
end
# sleep at the bottom sleep: 1h hi684@account-vm ~/lkp-tests/jobs% grep sleep: borrow-1h.yaml%>
-- 2.23.0
On Thu, Dec 10, 2020 at 02:29:18PM +0800, Wu Fengguang wrote:
Just renamed pub_key to ssh_pub_key to be more exact.
Ok, I got it.
Thanks, Yale
On Thu, Dec 10, 2020 at 01:58:48PM +0800, Zhang Yale wrote:
Signed-off-by: Zhang Yale ylzhangah@qq.com
doc/manual/borrow-machine.zh.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/manual/borrow-machine.zh.md b/doc/manual/borrow-machine.zh.md index 04be9cf..578bfe3 100644 --- a/doc/manual/borrow-machine.zh.md +++ b/doc/manual/borrow-machine.zh.md @@ -207,14 +207,14 @@ suite: borrow testcase: borrow
- pub_key: <%=
begin
File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp
rescue
nil
end
sshd:%>
pub_key: <%=
begin
File.read("#{ENV['HOME']}/.ssh/id_rsa.pub").chomp
rescue
nil
end
# sleep at the bottom sleep: 1h hi684@account-vm ~/lkp-tests/jobs% grep sleep: borrow-1h.yaml%>
-- 2.23.0