Last active
August 29, 2015 14:25
-
-
Save geertj/7b134e24323e6990f804 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur ravello-2.0.orig/ravello/common/config.py ravello-2.0/ravello/common/config.py | |
--- ravello-2.0.orig/ravello/common/config.py 2015-02-09 10:16:16.000000000 -0500 | |
+++ ravello-2.0/ravello/common/config.py 2015-07-17 19:12:19.127416654 -0400 | |
@@ -25,8 +25,8 @@ | |
cp = ConfigParser.RawConfigParser() | |
WINDOWS_UTILITIES_DIR = "" | |
-UNIX_UTILITIES_DIR = "/opt/ravello/image_tool" | |
-UNIX_INSTALL_DIR = "/etc/ravello/image_tool" | |
+UNIX_UTILITIES_DIR = "/{}/ravello/image_tool".format(os.environ['VIRTUAL_ENV']) | |
+UNIX_INSTALL_DIR = "/{}/ravello/image_tool".format(os.environ['VIRTUAL_ENV']) | |
CONFIG_FILE_NAME = "config.properties" | |
def get_utilities_dir(): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment