vm/install: Bake the preseed file into the initrd
[noc.git] / ansible / roles / vm / host / tasks / main.yml
index a7b018c..dc9a0a3 100644 (file)
@@ -2,8 +2,6 @@
 - name: install dependencies
   apt:
     name:
-      - atftpd
-      - openbsd-inetd
       - qemu-kvm
       - libvirt-bin
       - python-libvirt
     path: /etc/default/haveged
   notify: restart haveged
 
-- name: configure tftpd via inetd
-  lineinfile:
-    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
-
 - name: make sure installer directories exists
   with_items:
     - "{{ vm_host.installer.path }}"