def delete
        a = Host.find params[:id]
        a.destroy
        hosts = Host.all
        @net = Setting.get('net')