summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST.in1
-rw-r--r--cobbler/action_import.py11
-rw-r--r--kickstart_fc5.ks2
3 files changed, 8 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 20273d4..8302ab7 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,6 @@
include COPYING_ELILO
include elilo-3.6-ia64.efi
include dhcp.template
+include kickstart_fc5.ks
include cobbler.1.gz
include COPYING AUTHORS README CHANGELOG NEWS
diff --git a/cobbler/action_import.py b/cobbler/action_import.py
index 3a28e6c..7254a63 100644
--- a/cobbler/action_import.py
+++ b/cobbler/action_import.py
@@ -26,11 +26,12 @@ import api
# FIXME: add common FC, RHEL, and Centos path segments
MATCH_LIST = (
- ( "FC-5/" , "/etc/cobbler/kickstart_fc56.ks" ),
- ( "FC-6/" , "/etc/cobbler/kickstart_fc56.ks" ),
- ( "RHEL-4/", "/etc/cobbler/kickstart_fc56.ks" ),
- ( "6/" , "/etc/cobbler/kickstart_fc56.ks" ),
- ( "5/" , "/etc/cobbler/kickstart_fc56.ks" )
+ ( "FC-5/" , "/etc/cobbler/kickstart_fc5.ks" ),
+ ( "FC-6/" , "/etc/cobbler/kickstart_fc5.ks" ),
+ ( "RHEL-4/" , "/etc/cobbler/kickstart_fc5.ks" ),
+ ( "6/" , "/etc/cobbler/kickstart_fc5.ks" ),
+ ( "5/" , "/etc/cobbler/kickstart_fc5.ks" ),
+ ( "Centos/4" , "/etc/cobbler/kickstart_fc5.ks" )
)
class Importer:
diff --git a/kickstart_fc5.ks b/kickstart_fc5.ks
index ca060e7..fe43386 100644
--- a/kickstart_fc5.ks
+++ b/kickstart_fc5.ks
@@ -16,7 +16,7 @@ keyboard us
# System language
lang en_US
# Use network installation
-url --url=http://127.0.0.1/cobbler/foo
+url --url=TEMPLATE::tree
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# Reboot after installation