Revert "Search line with awk itself and avoid grep"
Revert "Search line with awk itself and avoid grep"

This commit causes all tripleo ironic CI jobs to fail CI.
The tripleo test env's need to be adjusted and redeployed first
in order to accept a new command over ssh.

Change-Id: Id057603717777777536f7ca947792862724b28f5

bacaldwell/ironic,ionutbalutoiu/ironic,faizan-barmawer/openstack_ironic,naototty/vagrant-lxc-ironic,Tehsmash/ironic,bacaldwell/ironic,debayanray/ironic_backup,pshchelo/ironic,pshchelo/ironic,rdo-management/ironic,hpproliant/ironic,ramineni/myironic,ionutbalutoiu/ironic,dims/ironic,devananda/ironic,SauloAislan/ironic,SauloAislan/ironic,dims/ironic,redhat-openstack/ironic,rackerlabs/ironic,Tan0/ironic,supermari0/ironic,NaohiroTamura/ironic,openstack/ironic,naototty/vagrant-lxc-ironic,NaohiroTamura/ironic,openstack/ironic,froyobin/ironic,naterh/ironic