1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +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,9 +76,6 @@ 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.net"
else:
appname = "GNS3" appname = "GNS3"
home = os.path.expanduser("~") home = os.path.expanduser("~")
filename = "gns3_server.conf" filename = "gns3_server.conf"