Taskotron: patch imagefactoryd service file so it can be enabled on boot
This commit is contained in:
parent
833d9e9bab
commit
c1ab76cef4
1 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,13 @@
|
|||
- name: hotfix imagefactory's REST api to allow file download
|
||||
copy: src=hotfix_imgfac_RESTv2.py dest=/usr/lib/python2.7/site-packages/imgfac/rest/RESTv2.py owner=root group=root mode=0644
|
||||
|
||||
- name: allow imagefactoryd.service to be enabled
|
||||
blockinfile:
|
||||
path: /usr/lib/systemd/system/imagefactoryd.service
|
||||
block: |
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
- name: enable imagefactory
|
||||
service: name=imagefactoryd state=started enabled=yes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue