SHA256
1
0
forked from pool/conman
conman/conman-suse-fix-expect-scripts.patch
Christian Goll 37f6bdc37f Accepting request 1042412 from home:aginies:branches:network:cluster
- update to version 0.3.1:
  * Fixed username/password use in libipmiconsole.conf. (e59f5e4)
  * Added more console logfile conversion specifiers. (96ede96, 5a189f6)
  * Added conmen '-T' cmdline opt to specify terminal emulator. (a11c6f4)
  * Added rpm source file verification. (f86c123)
  * Revamped autotools config. (547db3c)
  * Added configure opts for systemd/sysvinit. (3e303e6)
  * Added configure runstatedir support. (bb415e0)
  * Fixed installation directory variable substitution. (7642609)
  * Removed autotools-generated files from version control. (44168a4)
  * general move of files from /usr/lib/conman to /usr/share/conman

OBS-URL: https://build.opensuse.org/request/show/1042412
OBS-URL: https://build.opensuse.org/package/show/network:cluster/conman?expand=0&rev=43
2022-12-15 09:50:46 +00:00

23 lines
551 B
Diff

Index: conman-0.2.7/scripts/exec/ssh.exp
===================================================================
--- conman-0.2.7.orig/scripts/exec/ssh.exp
+++ conman-0.2.7/scripts/exec/ssh.exp
@@ -166,7 +166,7 @@ expect {
}
exp_continue -continue_timer
}
- -re "^$user@.* password: \$" {
+ -re "^.assword: \$" {
if {$authenticated == 0} {
send "$pswd\r"
incr authenticated
@@ -176,7 +176,7 @@ expect {
exit 1
}
}
- -re "(:|#|%|\\\$) \$" {
+ -re "(:|#|%|>|\\\$) \$" {
;
}
-re "\[^\r]*\r+\n" {