From a9520b71003b292be286e0ffdb8b3909a4e1ea6c Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Thu, 14 Jul 2022 12:11:37 +1200 Subject: [PATCH] Pass ignore-running: true when refreshing ourself Otherwise the refresh awareness blocks refresh when you are connected via SSH. --- subiquity/server/controllers/refresh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/server/controllers/refresh.py b/subiquity/server/controllers/refresh.py index 5cbac3ab..5ef5693f 100644 --- a/subiquity/server/controllers/refresh.py +++ b/subiquity/server/controllers/refresh.py @@ -215,7 +215,7 @@ class RefreshController(SubiquityController): async def start_update(self, context): change = await self.app.snapd.post( 'v2/snaps/{}'.format(self.snap_name), - {'action': 'refresh'}) + {'action': 'refresh', 'ignore-running': True}) context.description = "change id: {}".format(change) return change