Running shell commands through actionscript

(imported topic written by ShaunKelley)

Hi,

I am trying to create a fixlet that will register systems to use our internal redhat network satellite server to get content unavailable in TEM. my issue is that it keeps throwing exit codes.

Here is what I have:

action parameter query “rhnuser” with description “Please enter your RHN username”

action parameter query “rhnpass” with description “Please enter your RHN password”

wait wget -qO- --no-check-certificate https://location/pub/bootstrap/bootstrap-rtp.sh | /bin/bash

wait rhnreg_ks --force --username={parameter “rhnuser”} --password={parameter “rhnpass”}

I am guessing I am missing some syntax somewhere relating to the proper way to pass the wget and rhnreg_ks commands through TEM.

Thanks!!

(imported comment written by ShaunKelley)

I decided to eliminate wget and prefetch the bootstrap file instead. This seems to be working much better.