add script to gen /etc/hosts