OK this is what I did.
I would like it as a new feature with the setprop commands, I'd put it in as a new feature request but im relatively new to this and don't know where.
Anyway,
Navagate to:
/etc/e-smith/templates/etc/yum.conf
Create three files in the directory
touch 10main_proxy
touch 10main_proxy_username
touch 10main_proxy_password
If they are not setup properly you need to change the permissions for each file. I will show you with the first file, you need to do the same to the other two
chgrp root 10main_proxy
chown root 10main_proxy
chmod 644 10main_proxy
Ok now you have your files there and they are setup properly you need to put data in them.
For 10main_ proxy you need to add:
proxy=http://proxy_ipaddress:port_number/ (it is important to add the last / or it wont work)
For 10main_proxy_username add:
proxy_username=[username]
For 10main_proxy_password add:
proxy_password=[password]
make sure you saved the file then when back in the CLI type:
expand-template /etc/yum.conf
then
signal-event yum-modify
This should now work
Cheers