tftp service name can vary
In testing on Centos 7, I found that the service name for tftpd was tftp. On Ubuntu and Debian it's tftpd-hpa. Specify correct defaults and modify the task where we disable the service to run it under xinetd. Change-Id: I6d3328fb80dcc3178d62a840dbc3a39461b42f2a
This commit is contained in:
parent
d9c93c669c
commit
a28cec21f7
@ -9,6 +9,7 @@ sgabios_dir: /usr/share/qemu/
|
||||
nginx_user: www-data
|
||||
virt_group: libvirtd
|
||||
mysql_service_name: mysql
|
||||
tftp_service_name: tftpd-hpa
|
||||
required_packages:
|
||||
- mysql-server
|
||||
- rabbitmq-server
|
||||
|
@ -9,6 +9,7 @@ sgabios_dir: /usr/share/sgabios/
|
||||
nginx_user: nginx
|
||||
virt_group: libvirt
|
||||
mysql_service_name: mariadb
|
||||
tftp_service_name: tftp
|
||||
required_packages:
|
||||
- mariadb-server
|
||||
- dnsmasq
|
||||
|
@ -22,8 +22,8 @@
|
||||
- "{{ http_boot_folder }}/pxelinux.cfg"
|
||||
- name: "Place tftpd map-file"
|
||||
copy: src=tftpboot-map-file dest=/tftpboot/map-file owner=ironic group=ironic
|
||||
- name: "Disable service tftpd-hpa"
|
||||
service: name=tftpd-hpa state=stopped enabled=no
|
||||
- name: "Disable service {{ tftp_service_name }}"
|
||||
service: name="{{ tftp_service_name }}" state=stopped enabled=no
|
||||
- name: "Set pxelinux.0 source (for Ubuntu >=14.10)"
|
||||
set_fact:
|
||||
syslinux_tftp_dir: '/usr/lib/PXELINUX'
|
||||
|
Loading…
Reference in New Issue
Block a user