Fix implementing printing from virtual machines.

Already installed "IPP everywhere" printers have to be replaced by
"driverless" printers.

Fix Listen address in cupsd.conf because VMBridge IP is not yet avaible
when cups is starting.
This commit is contained in:
Raphael Dannecker 2024-03-13 13:06:47 +01:00
parent 9bce299c55
commit eab3b75bff
2 changed files with 24 additions and 3 deletions

View file

@ -12,11 +12,11 @@
line: '\1No'
backrefs: yes
- name: Listen on VMBridge
- name: Listen on all Interfaces
lineinfile:
dest: /etc/cups/cupsd.conf
line: 'Listen 192.168.122.1:631'
insertafter: 'Listen localhost:631'
line: 'Listen *:631'
regexp: '^Listen localhost'
state: present
- name: Allow access from localhost and from VM