diff options
| -rwxr-xr-x | new/image_builder.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/new/image_builder.py b/new/image_builder.py index 522b40c..c777f50 100755 --- a/new/image_builder.py +++ b/new/image_builder.py @@ -83,6 +83,14 @@ class ImageBuilder: file.write(contents) file.truncate() + # TODO: remove me, another temporary hack until vyos-build is fixed + with open(os.path.join(git.repo_path, "data/architectures/amd64.toml"), "r+") as file: + contents = file.read() + contents = contents.replace("https://repo.saltproject.io/py3", "https://packages.vyos.net/saltproject") + file.seek(0) + file.write(contents) + file.truncate() + version = self.version if version == "auto": if self.branch in self.version_mapping: |
