User Tools

Site Tools


ht

Grab rhn ID for URL

[for device in `ht -i ticket | grep Device | awk '{print $2}'`; do echo -n "URL/device="; ht $device --sudo"" -C "grep ID- /etc/sysconfig/rhn/systemid" | grep ID- | sed -e 's/[^(0-9)]//g'; done;]
ht.txt · Last modified: 2013/11/13 16:29 (external edit)