custom snippet is not working
Issue
Custom snippet is not working in the kickstart profile
SHORT_HNAME=$(hostname -s)
curl --insecure https://abc.xxx/DDI/FindMyIp.aspx?host=$SHORT_HNAME |grep ^[0-9] > /tmp/ip
IP=$(cat /tmp/ip |cut -f 1 -d ',')
PREFIX=$(cat /tmp/ip |cut -f 2 -d ',')
GATEWAY=(cat /tmp/ip |cut -f 3 -d ',')
echo $IP >> /tmp/ip
echo $PREFIX >> /tmp/ip
echo $GATEWAY >> /tmp/ip
Environment
Red Hat Satellite or Proxy
6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.