Giter VIP home page Giter VIP logo

Comments (7)

stgraber avatar stgraber commented on August 9, 2024

https://github.com/lxc/lxc-ci/blob/master/images/centos.yaml

That's what we use for the official images. @monstermunchkin may want to tweak the examples a bit.

from distrobuilder.

monstermunchkin avatar monstermunchkin commented on August 9, 2024

Yes, I can tweak the example and fix networking in the container.

I don't have access to a CentOS 7.5 image, but a CentOS 7.6 image boots perfectly without having to change anything.

from distrobuilder.

floschmied avatar floschmied commented on August 9, 2024

Hi,

Stéphane, thank you very much for that link. Yes, this file looks a way better than the default one. I will test it, if it is working for me for CentOS 7.5.

Thomas, which centos.yaml file have you used for CentOS 7.6? The one from distrobuilder or the one from Stéphanes link?

from distrobuilder.

monstermunchkin avatar monstermunchkin commented on August 9, 2024

I used the CentOS example we provide, but added systemd to the package list. You're right, that it doesn't boot without it. I'll fix that.

Using the yaml file we use for our official images, everything works. It boots and provides networking.

I will also update our example to make networking work out of the box.

from distrobuilder.

floschmied avatar floschmied commented on August 9, 2024

Hi Thomas,

thank you very much!

Perhaps you can help me with one more issue I have?
I want to inject our own CentOS repository before the packages will be installed in yaml file or packages should be used from CD-Rom, but it should not be installed from internet repo.
I have tried with trigger pre-packages, but this is not available.

Is there a possibility to do this?

from distrobuilder.

monstermunchkin avatar monstermunchkin commented on August 9, 2024

Yes, there is a kind of pre-packages trigger called post-unpack. Perhaps that's what you're looking for.

from distrobuilder.

floschmied avatar floschmied commented on August 9, 2024

Hi,

thank you very much. That worked!

from distrobuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.