add pipefail.
Merge pull request #167 from wakameci/kvm-hosts

add pipefail.