Skip to content

Commit

Permalink
Merge pull request #61 from peng9808/main
Browse files Browse the repository at this point in the history
fix ubuntu deb pakge bug
  • Loading branch information
peng9808 authored Jan 24, 2024
2 parents 2ad85ee + e58d214 commit 36380db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-shipper/drbd-debs/install_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set timeout 600

spawn sh -c $install_cmd1
expect {
"\"*** drbd.conf (Y/I/N/O/D/Z) \[default=N\] ?\"" {
"Configuration file '/etc/drbd.conf'" {
send "Y\r"
exp_continue
}
Expand All @@ -18,7 +18,7 @@ expect {
# 第一个安装命令结束后的处理逻辑
spawn sh -c $install_cmd2
expect {
"\"*** drbd.conf (Y/I/N/O/D/Z) \[default=N\] ?\"" {
"Configuration file '/etc/drbd.conf'" {
send "Y\r"
exp_continue
}
Expand Down

0 comments on commit 36380db

Please sign in to comment.