Mark ovs-record-hostname as deferable service.

Add ovs-record-hostname to the list of deferrable services, this service
was SRU'ed into Ubuntu >= Focal, when it's not mark as deferrable on
package upgrades will induce a restart of openvswitch-switch.

Change-Id: I4fa3256b39e62e9df223ab40f17f1677a621f293
Closes-Bug: #1923636
Related-Bug: #1915829
(cherry picked from commit f6a9487b05)
This commit is contained in:
Felipe Reyes 2022-02-08 16:50:42 -03:00 committed by Alex Kavanagh
parent 44e295e654
commit e3e8c74d99
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ def deferrable_services():
_svcs = services()
_svcs.extend(['ovs-vswitchd', 'ovsdb-server', 'ovs-vswitchd-dpdk',
'openvswitch-switch'])
'openvswitch-switch', 'ovs-record-hostname'])
return list(set(_svcs))