Code Monkey home page Code Monkey logo

Comments (4)

opoplawski avatar opoplawski commented on June 2, 2024

So, we have this:

#for $tkey, $tpath in $template_files.items()

But it looks like $tkey = nwra.ks and $tpath is undefined - it renders empty but I'm guessing it isn't considered a string object.

from cobbler.

opoplawski avatar opoplawski commented on June 2, 2024

cobbler report profile shows:

Template Files                 : {'nwra.ks': '~'}

Add the json file has:

"template_files": {"nwra.ks": null}

This is being set by the webui. And in fact it seems like I can't change it via the webui. I'm guessing that this really should be:

"template_files": {"nwra.ks": "/var/lib/cobbler/templates/nwra.ks"}

from cobbler.

opoplawski avatar opoplawski commented on June 2, 2024

Hmm, I think there may be an unfortunate naming overlap. I think the download_config_files snippet is part of the cobbler configuration management which would install various templated files to the installed system. But now the kickstart file is part of "templates"? But it isn't a templated file in the sense that download_config_files expects. I'm not sure how the autoinstall template ends up in this list yet though.

from cobbler.

opoplawski avatar opoplawski commented on June 2, 2024

Okay, I think this is just user error on my part setting template_files in the rhel-9 profile without realizing what it was. Sorry for the noise.

from cobbler.

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.