Removed manual script step

This commit is contained in:
root
2018-09-18 14:15:16 -05:00
parent 19693afda7
commit d0860b01e3

View File

@@ -28,9 +28,6 @@ docker run --name cups -p 631:631 --restart unless-stopped \
chuckcharlie/cups-airprint-brother:latest chuckcharlie/cups-airprint-brother:latest
``` ```
## Add and set up printer:
CUPS will be configurable at http://[host ip]:631 using the CUPSADMIN/CUPSPASSWORD.
## Install Avahi on local host: ## Install Avahi on local host:
These commands only work on RedHat/CentOS/Fedora. Ubuntu will be different. These commands only work on RedHat/CentOS/Fedora. Ubuntu will be different.
``` ```
@@ -40,8 +37,6 @@ systemctl enable avahi-daemon
``` ```
***This was the only way I was able to get /var/run/dbus to respond correctly in the container.*** ***This was the only way I was able to get /var/run/dbus to respond correctly in the container.***
## Notes ## Add and set up printer:
I had to run the [airprint-generate.py](/root/root/airprint-generate.py) script on the local host to get the avahi service file to generate. CUPS will be configurable at http://[host ip]:631 using the CUPSADMIN/CUPSPASSWORD.
```
python airprint-generate.py -H localhost -p 631 -u admin -d <your services dir>
```