fix: Set server name to a key
parent
349ff738cb
commit
5481ba4902
|
@ -13,10 +13,13 @@ echo "FRIENDLY SERVER NAME:"
|
||||||
read SNAME
|
read SNAME
|
||||||
|
|
||||||
cat >> $CONFIGDIR/servers.yml << EOF
|
cat >> $CONFIGDIR/servers.yml << EOF
|
||||||
'$SNAME':
|
- name: '$SNAME':
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 9000
|
port: 9000
|
||||||
discovery_path:
|
discovery_path:
|
||||||
use_https: False
|
use_https: False
|
||||||
taxii_version: 1.1
|
taxii_version: 1.1
|
||||||
headers:
|
headers:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
echo "New server added to $CONFIGDIR/servers.yml - please go change the settings"
|
||||||
|
|
Loading…
Reference in New Issue