fix: Set server name to a key

pull/7/head
Hannah Ward 2017-03-30 14:52:38 +01:00
parent 349ff738cb
commit 5481ba4902
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 4 additions and 1 deletions

View File

@ -13,10 +13,13 @@ echo "FRIENDLY SERVER NAME:"
read SNAME
cat >> $CONFIGDIR/servers.yml << EOF
'$SNAME':
- name: '$SNAME':
host: localhost
port: 9000
discovery_path:
use_https: False
taxii_version: 1.1
headers:
EOF
echo "New server added to $CONFIGDIR/servers.yml - please go change the settings"