summaryrefslogtreecommitdiff
path: root/roles/vm-host
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-12-11 10:13:24 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-12-11 10:13:24 +0100
commiteeba093b476c935e958e6db21444739a0078f599 (patch)
treecdf5315413a6c1b612b4fd9911ab11185608b50b /roles/vm-host
parentcleanup and improvments (diff)
limit tftp server to vm bridge
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 81262737..28ac43d7 100644
--- a/roles/vm-host/tasks/main.yaml
+++ b/roles/vm-host/tasks/main.yaml
@@ -13,7 +13,7 @@
- name: configure tftpd via inetd
lineinfile:
regexp: "^#?tftp"
- line: "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 }}"
+ 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