[Update] 添加脚本,将windows协议改为rdp

This commit is contained in:
ibuler
2018-07-26 14:37:10 +08:00
parent ac238aa36e
commit 74c3f12275
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
#
python ../apps/manage.py shell << EOF
from assets.models import Asset
Asset.objects.filter(platform__startswith='Win').update(protocol='rdp')
EOF