summaryrefslogtreecommitdiff
path: root/scripts/live-build-config
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-11-14 11:21:49 +0100
committerKim Hagen <kim.sidney@gmail.com>2018-11-14 11:21:49 +0100
commit3d777aa2aa8503d0bec5cebfb34143eb30ec1db8 (patch)
tree693068f3ade1107e696861bf435f177d13a388dc /scripts/live-build-config
parenteeb98144082444125a06b193505aa47cbd38d27c (diff)
downloadvyos-build-3d777aa2aa8503d0bec5cebfb34143eb30ec1db8.tar.gz
vyos-build-3d777aa2aa8503d0bec5cebfb34143eb30ec1db8.zip
Add saltstack repo
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-xscripts/live-build-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 6efa0a8c..8c843bcb 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -69,6 +69,7 @@ debug = build_config['debug']
print("Setting up additional APT entries")
vyos_repo_entry = "deb {0}/vyos {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
vyos_debian_repo_entry = "deb {0}/debian {1} main\n".format(build_config['vyos_mirror'], build_config['vyos_branch'])
+salt_repo_entry = "deb {0} {1} main\n".format(build_config['salt_mirror'], build_config['distribution'])
apt_file = os.path.join(build_config['build_dir'], defaults.VYOS_REPO_FILE)
@@ -76,10 +77,12 @@ if debug:
print("Adding these entries to {0}:".format(apt_file))
print("\t", vyos_repo_entry)
print("\t", vyos_debian_repo_entry)
+ print("\t", salt_repo_entry)
with open(apt_file, 'w') as f:
f.write(vyos_repo_entry)
f.write(vyos_debian_repo_entry)
+ f.write(salt_repo_entry)
# Add custom APT entries
if build_config['custom_apt_entry']: