Jack Neely wrote:
This fixes the case where I was getting pxe stanzas generated with
"ks=<<inherit>>"
Jack Neely
---
cobbler/action_sync.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 5d3cd10..3de38a8 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -715,7 +715,9 @@ class BootSync:
# find kernel and initrd
kernel_path = os.path.join("/images",distro.name,os.path.basename(distro.kernel))
initrd_path = os.path.join("/images",distro.name,os.path.basename(distro.initrd))
- kickstart_path = profile.kickstart
+
+ # Find the kickstart if we inherit from another profile
+ kickstart_path = utils.blender(True, profile)["kickstart"]
# ---
# choose a template
Applied, thanks!
--Michael
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools