#!/bin/bash default_hosts(){ echo "**********************start /etc/hosts*****************************************" cat /etc/custom.dns | while read line; do echo $line >> /etc/hosts; done cat /etc/hosts } default_hosts bash wrapper-compute-engine start tail -F -n 10 /wrapper-compute-engine/bin/wrapper.log