Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kickstart errors from containerbuild.sh #56

Open
ericlake opened this issue Aug 3, 2016 · 4 comments
Open

Kickstart errors from containerbuild.sh #56

ericlake opened this issue Aug 3, 2016 · 4 comments

Comments

@ericlake
Copy link

ericlake commented Aug 3, 2016

Issue

When using the kickstart files provided with the containerbuild.sh script I am getting errors like this:

  • centos-6
The following problem occurred on line 35 of the kickstart file:

The --nobase option was removed in version F22, but you are using kickstart syntax version DEVEL.

2016-08-03 11:02:26,703: The kickstart must include shutdown when using virt installation.
  • centos-7
2016-08-03 10:04:25,250: The kickstart must include shutdown when using virt installation.

Tested with centos-6.ks and centos-7.ks on a Fedora 24 system.

Proposed solution:

Removing the --nobase option from the centos-6.ks and changing reboot to shutdown in both files seems to take care of the issue.

@ericlake
Copy link
Author

ericlake commented Aug 3, 2016

Correction. I have not yet been able to get the script to work with centos-6.ks.

@jperrin
Copy link
Collaborator

jperrin commented Aug 3, 2016

This script was written assuming a host OS of CentOS 7. If you're using something different you may have to tweak either the script or the kickstart.

@mk-qi
Copy link

mk-qi commented May 29, 2017

livemedia-creator --image-only --no-virt --make-tar --ks centos-6.ks --image-name=centos-docker.tar.xz --iso /vagrant/CentOS-6.2-x86_64-bin-DVD1.iso

try a lot of times for changes of centos6.ks ,awlays jamed at

INFO packaging: /sbin/new-kernel-pkg: line 309: 12989 Killed depmod -ae -F /boot/System.map-$version $version

i guess it will not working for build for centos6.

@jperrin
Copy link
Collaborator

jperrin commented May 29, 2017

@mk-qi What are you running this on? Also, the script will not pull the DVD iso, so I'm confused as to how this is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants