custom snippet is not working

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content