summaryrefslogtreecommitdiff
path: root/roles/vm-host/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vm-host/tasks/main.yaml')
-rw-r--r--roles/vm-host/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vm-host/tasks/main.yaml b/roles/vm-host/tasks/main.yaml
index 28ac43d7..a5e98fa9 100644
--- a/roles/vm-host/tasks/main.yaml
+++ b/roles/vm-host/tasks/main.yaml
@@ -12,7 +12,7 @@
- name: configure tftpd via inetd
lineinfile:
- regexp: "^#?tftp"
+ regexp: "^#?({{ vm_host.network.ip }}:)?tftp"
line: "{{ vm_host.network.ip }}:tftp dgram udp4 wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --maxthread 10 --verbose=5 {{ vm_host.installer.preseed_path }}"
path: /etc/inetd.conf
notify: restart inetd