Skip to content

Commit 6c33a66

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Replaced usage outdate egrep to grep"
2 parents b5df106 + 4bc50f7 commit 6c33a66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playbooks/post-check-metadata-injection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
glance image-list --property-filter 'glance_devstack_test=doyouseeme?' | grep $image
2020
2121
echo "Checking that the cirros image was converted to raw on import..."
22-
glance image-show $image | egrep -e 'disk_format.*raw'
22+
glance image-show $image | grep 'disk_format.*raw'
2323
done
2424
environment: '{{ zuul | zuul_legacy_vars }}'

tools/test-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function set_conf_line {
2525
echo '$3' >> $1"
2626
}
2727

28-
if $(egrep -q "^.*(centos:centos:|cloudlinux:cloudlinux:|redhat:enterprise_linux:)[78].*$" /etc/*release); then
28+
if $(grep -Eq "^.*(centos:centos:|cloudlinux:cloudlinux:|redhat:enterprise_linux:)[78].*$" /etc/*release); then
2929
# mysql needs to be started on centos/rhel
3030
sudo systemctl restart mariadb.service
3131

0 commit comments

Comments
 (0)