1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Move configuration to the GNS3 directory

This commit is contained in:
Julien Duponchelle 2015-06-24 11:57:42 +02:00
parent 08b5aec656
commit 26df776f4c
2 changed files with 2 additions and 9 deletions

View File

@ -20,11 +20,7 @@
# Bash shell script for generating self-signed certs. # Bash shell script for generating self-signed certs.
# The certicate is automaticaly put in your GNS3 config # The certicate is automaticaly put in your GNS3 config
if [[ "$OSTYPE" == "darwin"* ]]; then DST_DIR="$HOME/.config/GNS3/ssl"
DST_DIR="$HOME/.config/gns3.net/ssl"
else
DST_DIR="$HOME/.config/gns3/ssl"
fi
OLD_DIR=`pwd` OLD_DIR=`pwd`
fail_if_error() { fail_if_error() {

View File

@ -76,10 +76,7 @@ class Config(object):
# 4: /etc/xdg/GNS3.conf # 4: /etc/xdg/GNS3.conf
# 5: server.conf in the current working directory # 5: server.conf in the current working directory
if sys.platform.startswith("darwin"): appname = "GNS3"
appname = "gns3.net"
else:
appname = "GNS3"
home = os.path.expanduser("~") home = os.path.expanduser("~")
filename = "gns3_server.conf" filename = "gns3_server.conf"
if self._files is None: if self._files is None: