summaryrefslogtreecommitdiff
path: root/roles/vm-host
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-02-17 20:15:47 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-02-17 20:15:47 +0100
commit1f55b385465af1268116f3295f4b0f56a916fe40 (patch)
tree094e48669cc52b64e277f1c471550a3245c0bb31 /roles/vm-host
parentadded datadisk to emc-stats (diff)
fix vm-host role
Diffstat (limited to 'roles/vm-host')
-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