Add copy step for Freight conf to avoid permissions error
This commit is contained in:
parent
0abda0b46b
commit
f438e6b8ed
@ -78,13 +78,14 @@ if args.initialize:
|
|||||||
print("[ CONFIGURING FREIGHT ]")
|
print("[ CONFIGURING FREIGHT ]")
|
||||||
render_template(
|
render_template(
|
||||||
src="debian_repo/freight.conf",
|
src="debian_repo/freight.conf",
|
||||||
dest=FREIGHT_CONF,
|
dest="/tmp",
|
||||||
template_vars={
|
template_vars={
|
||||||
"freight_lib_path": FREIGHT_LIB,
|
"freight_lib_path": FREIGHT_LIB,
|
||||||
"freight_cache_path": FREIGHT_CACHE,
|
"freight_cache_path": FREIGHT_CACHE,
|
||||||
"gpg_key_email": GPG_KEY_EMAIL
|
"gpg_key_email": GPG_KEY_EMAIL
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
subprocess.call(["sudo", "cp", "/tmp/freight.conf", FREIGHT_CONF])
|
||||||
|
|
||||||
print("[ PULLING MICROSERVICES CODE FROM GITHUB ]")
|
print("[ PULLING MICROSERVICES CODE FROM GITHUB ]")
|
||||||
for service in SERVICES:
|
for service in SERVICES:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user