From 14430e2d5f93ebc5cea87f135d67defcf4716436 Mon Sep 17 00:00:00 2001
From: Ade Rixon <RixonA@cardiff.ac.uk>
Date: Fri, 25 Oct 2024 09:29:51 +0100
Subject: [PATCH] Add fix for Subiquity bug #2053002 to remove temp upgrade
 config file

	modified:   tasks/main.yml
---
 tasks/main.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index f48ff3d..b8d3ecc 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -23,6 +23,14 @@
   tags:
     - apt-config-auto
 
+# fix for https://bugs.launchpad.net/subiquity/+bug/2053002
+- name: remove upgrade temp config file
+  file:
+    path: "{{ apt_config_path }}/zzzz-temp-installer-unattended-upgrade"
+    state: absent
+  tags:
+    - apt-config-auto
+ 
 - name: backup APT sources
   copy:
     remote_src: yes
-- 
GitLab