Ensure that suid mode is persistent on package upgrades.
This commit is contained in:
parent
e89ecc1f3a
commit
e1ac7eb798
1 changed files with 7 additions and 3 deletions
|
@ -180,9 +180,13 @@
|
|||
|
||||
# FIXME #691138, better: prepare interfaces ready to use, c.f. below
|
||||
- name: Allow users to attach to bridge
|
||||
file:
|
||||
path: /usr/lib/qemu/qemu-bridge-helper
|
||||
mode: '4755'
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/apt.conf.d/94qemu-bridge-suid
|
||||
content: |
|
||||
## Modify permissions after installation/upgrade
|
||||
## to run qemu-bridge as root
|
||||
DPkg::Post-Invoke {"/usr/bin/chmod 4755 /usr/lib/qemu/qemu-bridge-helper || true"; };
|
||||
|
||||
|
||||
- name: Configure macvtap interface
|
||||
ansible.builtin.copy:
|
||||
|
|
Loading…
Add table
Reference in a new issue