Hi,

I had some time to look into this. And I found several things.

1) It seems Virtio is not support by default by the CentOS install so
changing net_device to e1000 (or any other supported device) and
disk_interface to ide makes the build successful.

Virtio can probably be used if you install the necessary drivers, but this
have to be without network.

I have attached the template and ks.cfg I have used.

// Rickard


On Wed, 29 Aug 2018 at 09:49, <[email protected]> wrote:

> I am trying to use packer to do CentOS 7 install. But my kickstart errors
> out. But after my kicstart tries to install, linux complains about less
> disk, not sure why.
> Please see the attached image for the error. Also I am attaching my
> kickstart and json files as well. This is on a Ubuntu laptop I am trying.
> It has got something to do with "ignoredisk" param in ks file I guess
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/fae9f66f-096c-44a1-a246-cf30a6ab801e%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/fae9f66f-096c-44a1-a246-cf30a6ab801e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9hJ45-Z%3DVAvbAzyh7Q-pguQG4nAurHS8aePsZWMYg77Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: centos7-basetainted.json
Description: application/json

Attachment: c7v2.cfg
Description: Binary data

Reply via email to