Do not mess up with distro-provided machines mount
var-lib-machines.mount is provided by systemd-container package on ubuntu/debian [1] With package update our file will be overriden which end up on mount failure. To avoid that we place it as override to /etc/ [1] https://packages.ubuntu.com/focal/amd64/systemd-container/filelist Change-Id: I226ab48b1ff7ec3c7da963e00e76b24b2b79608c Closes-Bug: #1973762
This commit is contained in:
parent
86ef148408
commit
fc0810cc97
@ -35,7 +35,7 @@
|
||||
- name: Move machines mount into place
|
||||
copy:
|
||||
src: var-lib-machines.mount
|
||||
dest: /lib/systemd/system/var-lib-machines.mount
|
||||
dest: /etc/systemd/system/var-lib-machines.mount
|
||||
register: mount_unit
|
||||
|
||||
- name: Reload the System daemon
|
||||
|
Loading…
Reference in New Issue
Block a user