so my suggestion will be go back to the yum repo 7.3 and see if works, and replace to the corresponding link
7 without number doesn't have al lthe needed for installation on side note, https://mirror.centos.org/centos/7.3.1611/os/x86_64/ not working for me. so perhaps you can try a different mirror ie http://mirror.centos.org/centos/7.4.1708/os/x86_64/ the repo should match the dvd doing the installation If you want to make sure the installation is fully update, check the kickstart documentation, you need to add an aditional repo using repo https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-kickstart-syntax I don't think this is packer issue Alvaro. On Fri, Jan 5, 2018 at 6:24 PM, <[email protected]> wrote: > OK, let me try that. I was using centos 7.3 and here is the diff: > > wjiang@OE00364-ml:packer-centos7$ git diff > diff --git a/packer-centos7/ks.cfg b/packer-centos7/ks.cfg > index 3b39dc8..fee451f 100644 > --- a/packer-centos7/ks.cfg > +++ b/packer-centos7/ks.cfg > @@ -1,5 +1,5 @@ > install > -url --url https://mirror.centos.org/centos/7.3.1611/os/x86_64/ > +url --url https://mirrors.kernel.org/centos/7/os/x86_64/ > repo --name=salt_centos7 --baseurl=http://repo. > saltstack.com/yum/redhat/7/x86_64/latest > repo --name=epel --baseurl=https://dl.fedoraproject.org/pub/epel/7/x86_64 > user --name=centos > diff --git a/packer-centos7/packer.yaml b/packer-centos7/packer.yaml > index 06aa292..e9bab0e 100644 > --- a/packer-centos7/packer.yaml > +++ b/packer-centos7/packer.yaml > @@ -5,9 +5,9 @@ builders: > guest_os_type: RedHat_64 > headless: 'true' > http_directory: . > - iso_checksum: f2f7367deb90a25822947660c71638 > 333ca0eceeabecc2d631be6cd508c24494 > + iso_checksum: fe3d960cce4d2c1c9f1b66817fe87c > c0ee1a1c6c5dd126204cb5c33d51a45620 > iso_checksum_type: sha256 > - iso_url: https://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7- > x86_64-NetInstall-1611.iso > + iso_url: https://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7- > x86_64-NetInstall-1708.iso > shutdown_command: echo 'vagrant' | sudo -S /sbin/halt -h -p > ssh_password: vagrant > ssh_username: root > > On Friday, January 5, 2018 at 4:55:15 AM UTC-8, Alvaro Miranda Aguilera > wrote: >> >> hello >> >> you are using this iso: >> >> CentOS-7-x86_64-NetInstall-1708.iso >> >> >> That goes to the latest 7, and the packages came from the yum repo latest, >> so there is no sense of centos 7.3 or 7.4 >> >> >> can you share what was before and what changed? >> >> when you go from net install will always use the latest packages, it may be >> good include a yum update kernel* and a reboot to ensure all is on the >> latest kernel as part of the provisioning but lost on the 7.3 / 7.4 part >> >> Alvaro >> >> -- > 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/00e5954b-12ae-4e6c-891a-741cfcbca469%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/00e5954b-12ae-4e6c-891a-741cfcbca469%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0eyF_m-OA-80_BDVSFzHWpv0xbr6sGbRwk_gWnPm9RAeEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
