I am installing centos with kickstart and during installation in post script it suppose to update device over tftp.
in my script i trigger that device which ultimately copy firmware from my system(where my kickstart is running).
These firewall rules works after first reboot but i want to do it in post section of kickstart.
firewall --enabled --service=tftp --service=ssh %post --erroronfail --log=/tmp/ks-post.log --interpreter=/usr/bin/bash echo -e $(firewall-cmd --list-services) telnet> copy tftp x.x.x.x device-firmware my.rom %end
But echo command output that firewalld is not running