Hello,
I installed the foreman using following command:
foreman-installer
–no-enable-foreman
–no-enable-foreman-cli
–no-enable-foreman-plugin-bootdisk
–no-enable-foreman-plugin-setup
–no-enable-puppet
–enable-foreman-proxy
–foreman-proxy-puppetca=false
–foreman-proxy-puppetrun=false
–foreman-proxy-tftp=true
–foreman-proxy-tftp-listen-on="http"
–foreman-proxy-dns=true
–foreman-proxy-dns-interface=eno16777736
–foreman-proxy-dns-zone=beijing.com
–foreman-proxy-dns-forwarders=192.168.80.128
–foreman-proxy-dhcp=true
–foreman-proxy-dhcp-interface=eno16777736
–foreman-proxy-dhcp-gateway=192.168.80.2
–foreman-proxy-dhcp-range="192.168.80.100 192.168.80.127"
–foreman-proxy-dhcp-nameservers="192.168.80.2"
–foreman-proxy-foreman-base-url=https://foreman.beijing.com
–foreman-proxy-trusted-hosts=foreman.beijing.com
–foreman-proxy-oauth-consumer-key=dYeKvN86ZNZWQQJiA88KHP8yCBcPzo4R
–foreman-proxy-oauth-consumer-secret=sGWXAykTEDEG4rg2LaoiWh33SjYCxE6A
However, the tftp service could not start:
[root@foreman ~]# service tftp status
Redirecting to /bin/systemctl status tftp.service
tftp.service - Tftp Server
Loaded: loaded (/usr/lib/systemd/system/tftp.service; static)
Active: failed (Result: resources)
Jun 19 15:52:26 foreman.beijing.com systemd[1]: Stopped Tftp Server.
Jun 19 15:53:00 foreman.beijing.com systemd[1]: Starting Tftp Server…
Jun 19 15:53:00 foreman.beijing.com systemd[1]: tftp.service failed to run
'start' ta…nt
Jun 19 15:53:00 foreman.beijing.com systemd[1]: Failed to start Tftp Server.
Jun 19 16:08:45 foreman.beijing.com systemd[1]: Starting Tftp Server…
Jun 19 16:08:45 foreman.beijing.com systemd[1]: tftp.service failed to run
'start' ta…nt
Jun 19 16:08:45 foreman.beijing.com systemd[1]: Failed to start Tftp Server.
Jun 19 16:11:29 foreman.beijing.com systemd[1]: Starting Tftp Server…
Jun 19 16:11:29 foreman.beijing.com systemd[1]: tftp.service failed to run
'start' ta…nt
Jun 19 16:11:29 foreman.beijing.com systemd[1]: Failed to start Tftp Server.
Hint: Some lines were ellipsized, use -l to show in full.