Browse Source

Disable colorised grep output

In centos 7 grep aliased to

  grep --color=auto

which causes line matching error in product.sh

Blueprint: master-on-centos7

Breaks: nothing

Closes-Bug: #1517140

Change-Id: If7b351834535a5dbe900ec5387d48fcb81885458
Ivan Suzdal 3 years ago
parent
commit
a96589911c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      functions/product.sh

+ 1
- 1
functions/product.sh View File

@@ -37,7 +37,7 @@ is_product_vm_operational() {
37 37
         expect "*?assword:*"
38 38
         send "$password\r"
39 39
         expect "$prompt"
40
-        send "grep 'Fuel node deployment' /var/log/puppet/bootstrap_admin_node.log\r"
40
+        send "grep --color=none 'Fuel node deployment' /var/log/puppet/bootstrap_admin_node.log\r"
41 41
         expect "$prompt"
42 42
         send "logout\r"
43 43
         expect "$prompt"

Loading…
Cancel
Save