Comments (2)
I assume profile_data is a Cobbler profile object converted to dict. "autoinst" is indeed a wrong attribute name, it should be "autoinstall" (see cobbler/item_profile.py)
from koan.
Right, it seems like it... but "autoinstall" doesn't contain the right bits. e.g. on my server for a given profile that is "rhel7.ks". But given a non-fs like path in "autoinst", koan just calls self.get_install_tree_from_autoinst on profile_data, which does:
if profile_data["autoinst"][:4] == "http":
if not self.system:
url_fmt = "http://%s/cblr/svc/op/ks/profile/%s"
else:
url_fmt = "http://%s/cblr/svc/op/ks/system/%s"
url = url_fmt % (self.server, profile_data['name'])
else:
url = profile_data["autoinst"]
So it expects a URL it seems?
from koan.
Related Issues (20)
- koan should wait for a VM to be in VIR_DOMAIN_SHUTOFF state before recreating the domain
- Cobbler-register report error when register system HOT 1
- koan can't get port for profile HOT 1
- Switch from ethtool to netifaces
- Spice Support HOT 1
- Need to support both cobbler 2 and cobbler 3
- Issues with semanage
- Need to add http_port to app.py HOT 3
- Problem reporting error with virt-install HOT 1
- ethtool: installation error with pip
- Port Travis configuration to GH Actions HOT 1
- xend is deprecated and removed
- Investigate spacewalk-koan
- Improve the CI
- [Meta] Thought collection of the pre V3.0.0 release review
- Koan-V3.0.1 is not compatible with Cobbler-V3.2.2 HOT 9
- Add Black formatter
- Merge PyPi workflows
- Automatically update the version after a release
- Use towncrier for changelog generation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koan.