mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Move configuration to the GNS3 directory
This commit is contained in:
parent
08b5aec656
commit
26df776f4c
@ -20,11 +20,7 @@
|
||||
# Bash shell script for generating self-signed certs.
|
||||
# The certicate is automaticaly put in your GNS3 config
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
DST_DIR="$HOME/.config/gns3.net/ssl"
|
||||
else
|
||||
DST_DIR="$HOME/.config/gns3/ssl"
|
||||
fi
|
||||
DST_DIR="$HOME/.config/GNS3/ssl"
|
||||
OLD_DIR=`pwd`
|
||||
|
||||
fail_if_error() {
|
||||
|
@ -76,10 +76,7 @@ class Config(object):
|
||||
# 4: /etc/xdg/GNS3.conf
|
||||
# 5: server.conf in the current working directory
|
||||
|
||||
if sys.platform.startswith("darwin"):
|
||||
appname = "gns3.net"
|
||||
else:
|
||||
appname = "GNS3"
|
||||
appname = "GNS3"
|
||||
home = os.path.expanduser("~")
|
||||
filename = "gns3_server.conf"
|
||||
if self._files is None:
|
||||
|
Loading…
Reference in New Issue
Block a user