More cleanups
1. Make bootstrapping/env setting be based off a shell script 2. Reworking password lookup and config lookup
This commit is contained in:
@@ -17,17 +17,10 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
# RC files generated / used
|
||||
RC_FN_TEMPL = "%s.rc"
|
||||
|
||||
# Where the configs and templates should be at...
|
||||
BIN_DIR = os.path.abspath(os.path.dirname(sys.argv[0]))
|
||||
CONFIG_DIR = os.path.join(BIN_DIR, "conf")
|
||||
CONFIG_DIR = 'conf'
|
||||
COMPONENT_CONF_DIR = os.path.join(CONFIG_DIR, "components")
|
||||
DISTRO_DIR = os.path.join(CONFIG_DIR, "distros")
|
||||
PERSONA_DIR = os.path.join(CONFIG_DIR, "personas")
|
||||
TEMPLATE_DIR = os.path.join(CONFIG_DIR, "templates")
|
||||
|
||||
|
||||
def gen_rc_filename(root_name):
|
||||
return RC_FN_TEMPL % (root_name)
|
||||
|
||||
Reference in New Issue
Block a user