Skip to content

Commit

Permalink
fix ubuntu deb pakge bug
Browse files Browse the repository at this point in the history
  • Loading branch information
peng9808 committed Jan 24, 2024
1 parent 4130792 commit e58d214
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 e58d214

Please sign in to comment.