From 31357d84ae581341089236e502a2b2d3090c1a99 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 3 Apr 2023 18:55:28 +0200 Subject: [PATCH] xcp-ng-linstor is now a default repo of updater.py Signed-off-by: Ronan Abhamon --- SOURCES/etc/xapi.d/plugins/updater.py | 2 +- tests/mocked_yum.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SOURCES/etc/xapi.d/plugins/updater.py b/SOURCES/etc/xapi.d/plugins/updater.py index fe3e74f..56376d6 100755 --- a/SOURCES/etc/xapi.d/plugins/updater.py +++ b/SOURCES/etc/xapi.d/plugins/updater.py @@ -14,7 +14,7 @@ from xcpngutils.filelocker import FileLocker -DEFAULT_REPOS = ('xcp-ng-base', 'xcp-ng-updates') +DEFAULT_REPOS = ('xcp-ng-base', 'xcp-ng-updates', 'xcp-ng-linstor') class OperationException(Exception): diff --git a/tests/mocked_yum.py b/tests/mocked_yum.py index 833b97e..1518025 100644 --- a/tests/mocked_yum.py +++ b/tests/mocked_yum.py @@ -9,7 +9,7 @@ def disableRepo(self, repos): return 0 def listEnabled(self): - repos = ['xcp-ng-base', 'xcp-ng-updates', 'totoro', 'lalala', 'riri', 'fifi', 'loulou'] + repos = ['xcp-ng-base', 'xcp-ng-updates', 'xcp-ng-linstor', 'totoro', 'lalala', 'riri', 'fifi', 'loulou'] class RepoObject: def __init__(self, repo):