After doing reseach, and tests. The error seems to be at this part of the 
ks.cfg file. 
#Network Information
network --bootproto=static --device=eno16780032 --gateway=8.1.140.1 
--ip=8.1.142.187 --nameserver=8.1.44.254,8.1.32.254 --netmask=255.255.252.0 
--noipv6 --activate --hostname=myhost.com

I manually created the vm myself and used a static ip address to do it, and 
I was then able to ssh into it. So I am very sure the above credentials 
work. When I get anaconda-ks.cfg file for that, and use it as a template to 
create the vm using packer, it doesn't seem to work. These are the two 
sysconfig files for manual and packer installations. Why is the kickstart 
file not working?  Please help


>>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/bcbee819-d9e6-414a-9d55-2a60145fe8a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPV6_AUTOCONG=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16780032
DEVICE=eno16780032
ONBOOT=yes
IPADDR=8.1.142.187
PREFIX=22
GATEWAY=8.1.140.1
DNS1=8.1.44.254
DNS2=8.1.32.254
DOMAIN=myhost.com
TYPE=Ethernet
BOOTPROTO=dhcp
PEERDNS=yes
PEERROUTES=yes
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONG=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno160
DEVICE=eno160
ONBOOT=no

Reply via email to