Move conf files to template dir root
This commit is contained in:
parent
db26c7137f
commit
973e663eb0
|
@ -78,7 +78,7 @@ if args.initialize:
|
||||||
print("[ CONFIGURING FREIGHT ]")
|
print("[ CONFIGURING FREIGHT ]")
|
||||||
freight_conf_tmp_path = os.path.join(USER_PATH, "freight.conf")
|
freight_conf_tmp_path = os.path.join(USER_PATH, "freight.conf")
|
||||||
render_template(
|
render_template(
|
||||||
src="debian_repo/freight.conf",
|
src="freight.conf",
|
||||||
dest=freight_conf_tmp_path,
|
dest=freight_conf_tmp_path,
|
||||||
template_vars={
|
template_vars={
|
||||||
"freight_lib_path": FREIGHT_LIB,
|
"freight_lib_path": FREIGHT_LIB,
|
||||||
|
@ -104,7 +104,7 @@ if args.initialize:
|
||||||
print("[ COPYING NGINX CONFIG ]")
|
print("[ COPYING NGINX CONFIG ]")
|
||||||
nginx_conf_tmp_path = os.path.join(USER_PATH, "apt.peachcloud.org")
|
nginx_conf_tmp_path = os.path.join(USER_PATH, "apt.peachcloud.org")
|
||||||
render_template(
|
render_template(
|
||||||
src="debian_repo/nginx_debian.conf",
|
src="nginx_debian.conf",
|
||||||
dest=nginx_conf_tmp_path,
|
dest=nginx_conf_tmp_path,
|
||||||
template_vars = {
|
template_vars = {
|
||||||
"apt_dir": FREIGHT_CACHE
|
"apt_dir": FREIGHT_CACHE
|
||||||
|
|
Loading…
Reference in New Issue