1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #1760 from m-anish/kalite-fix

Fix bug in KA Lite parsing of regex for ifconfig output
This commit is contained in:
A Holt 2019-06-22 11:24:59 -04:00 committed by GitHub
commit 56d7e40533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,3 +78,12 @@
- { src: 'kalite-serve.service.j2', dest: '/etc/systemd/system/kalite-serve.service', mode: '0644'}
- { src: 'kalite.sh.j2', dest: '/usr/bin/kalite', mode: '0755'}
- { src: 'kalite.conf', dest: '/etc/{{ apache_config_dir }}', mode: '0644'}
- name: Fix KA Lite bug in regex parsing ifconfig output, for @m-anish's network names that contain dashes
replace:
path: /usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/packages/dist/ifcfg/parser.py
regexp: 'a-zA-Z0-9'
replace: 'a-zA-Z0-9\-'