send "" expect { "Linux login:" } send root expect { "[root@Linux /root]$" } send cat > /etc/resolv.conf send domain sc.intel.com send search sc.intel.com intel.com send nameserver $(IXP1200_DNS1) send nameserver $(IXP1200_DNS2) send  expect { "[root@Linux /root]$" } send ifup $(IXP1200_LIP) $(IXP1200_MASK) $(IXP1200_BCAST) $(IXP1200_GWAY) expect { "[root@Linux /root]$" } send /bin/rm /var/log/wtmp expect { "[root@Linux /root]$" } send PS1=\"[\\u@\\h \\W]\\$ \" exit