Add freight conf file location to add command

This commit is contained in:
mycognosist 2020-12-16 09:26:11 +00:00
parent 8206b4d8d8
commit dd8a340aff
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ for service in SERVICES:
print("[ ADDING PACKAGES TO FREIGHT LIBRARY ]")
for package in MICROSERVICES_DEB_DIR:
subprocess.call(["freight", "add", package, "apt/buster"])
subprocess.call(["freight", "add", "-c", FREIGHT_CONF, package, "apt/buster"])
print("[ ADDING PACKAGES TO FREIGHT CACHE ]")
# needs to be run as sudo user