start.sh 319 B

123456789101112
  1. #!/bin/bash
  2. default_hosts(){
  3. echo "**********************start /etc/hosts*****************************************"
  4. cat /etc/custom.dns | while read line; do echo $line >> /etc/hosts; done
  5. cat /etc/hosts
  6. }
  7. default_hosts
  8. bash wrapper-compute-engine start
  9. tail -F -n 10 /wrapper-compute-engine/bin/wrapper.log