> However, I immediately ran into issue with the size of ipxe config file - > it could be much larger that syslinux config file and if ipxe config file > is large, TFTP API only writes 464 bytes for me: > > # curl -k --cacert /var/lib/puppet/ssl/certs/ca.pem --cert > /var/lib/puppet/ssl/certs/`hostname -f`.pem --key > /var/lib/puppet/ssl/private_keys/`hostname -f`.pem -H > "Accept:application/json" -X POST > https://<proxy>:8443/tftp/ipxe/00:11:22:33:44:55 -d "pxeconfig=`cat > default.ipxe`"
I believe your patch is correct, what's I believe is wrong is the way you load data via shell. Doesn't the first newline break it? Try to use stdin to provide the content. -- Later, Lukas #lzap Zapletal -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
