持之以恒

导航

2021年11月10日 #

K8S 虚拟化场景 常用命令

摘要: #Check image history docker history --format {{.CreatedBy}} --no-trunc=true $DockerImage |sed "s//bin/sh\ -c\ #(nop)\ //g"|sed "s//bin/sh\ -c/RUN/g" | 阅读全文

posted @ 2021-11-10 14:09 beilei 阅读(63) 评论(0) 推荐(0) 编辑

call expect script content in bash shell

摘要: expect <<EOF set timeout 10 spawn ssh $user@$ip expect { "yes/no" { send "yes\n";exp_continue } "password" { send "$password\n" } } expect "]#" { send 阅读全文

posted @ 2021-11-10 13:56 beilei 阅读(9) 评论(0) 推荐(0) 编辑