playbooks: bifrost-ironic-install: Fix regexp for pxe_bootfile_name
The previous regexp never matched so a new pxe_bootfile_name was always appended to the ironic.conf file. We fix this regular expression to check for any character sequence after the '=' sign. Change-Id: I9af9704f0ed750aa236c29b08bacd35a82960528
This commit is contained in:
parent
7ac4e42b6a
commit
befa4bd44e
@ -132,7 +132,7 @@
|
||||
lineinfile:
|
||||
dest=/etc/ironic/ironic.conf
|
||||
insertafter="[pxe]"
|
||||
regexp='^\#?\s?pxe_bootfile_name\s?=\s?\#?\s?$'
|
||||
regexp='^\#?\s?pxe_bootfile_name\s?=\s?(.*)$'
|
||||
line="pxe_bootfile_name = undionly.kpxe"
|
||||
- name: "Set iPXE http_url"
|
||||
lineinfile:
|
||||
|
Loading…
x
Reference in New Issue
Block a user