From 3d777aa2aa8503d0bec5cebfb34143eb30ec1db8 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Wed, 14 Nov 2018 11:21:49 +0100 Subject: Add saltstack repo --- scripts/live-build-config | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/live-build-config') 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']: -- cgit v1.2.3