summaryrefslogtreecommitdiffstats
path: root/cobbler/action_import.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-17 13:12:07 -0400
committerJim Meyering <jim@meyering.net>2006-10-17 13:12:07 -0400
commitd92e28380b11903bd852994eb9dea1ef1dae60a4 (patch)
tree9c160f5153294e524bf82fa1dd89687a60aced3a /cobbler/action_import.py
parentabff49e2635163ebb611fb61a8c35073b9c56693 (diff)
downloadthird_party-cobbler-d92e28380b11903bd852994eb9dea1ef1dae60a4.tar.gz
third_party-cobbler-d92e28380b11903bd852994eb9dea1ef1dae60a4.tar.xz
third_party-cobbler-d92e28380b11903bd852994eb9dea1ef1dae60a4.zip
Clarify one warning message and one comment about deps
Diffstat (limited to 'cobbler/action_import.py')
-rw-r--r--cobbler/action_import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/action_import.py b/cobbler/action_import.py
index bcc6873..7f705e2 100644
--- a/cobbler/action_import.py
+++ b/cobbler/action_import.py
@@ -140,8 +140,8 @@ class Importer:
for profile in self.profiles:
distro = self.distros.find(profile.name)
kpath = distro.kernel
- if not kpath.startswith("/var/www/cobbler"):
- print "*** CAN'T GUESS WHAT KICKSTART TO ASSIGN: %s" % kpath
+ if not kpath.startswith("/var/www/cobbler/localmirror/"):
+ print "*** Skipping kickstart assignment since this path isn't under /var/www/cobbler/localmirror/ and the kickstart tree can't be served" % kpath
continue
for entry in MATCH_LIST:
(part, kickstart) = entry