summaryrefslogtreecommitdiffstats
path: root/kickstarts
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-10-06 16:14:10 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-10-06 16:14:10 -0400
commit0209e88e92f781872d2dd5a3440b5e04919beb41 (patch)
tree0332dbed8027c4ccb477bc45cbd57d8aad501cfa /kickstarts
parent2b9423f5949d062d6776c2457df58326641b04fa (diff)
downloadcobbler-0209e88e92f781872d2dd5a3440b5e04919beb41.tar.gz
cobbler-0209e88e92f781872d2dd5a3440b5e04919beb41.tar.xz
cobbler-0209e88e92f781872d2dd5a3440b5e04919beb41.zip
Streamlined James Cammarata's --template-files patch a bit to not write files by default
and also to render URLs from the snippet, as opposed to kickgen.py
Diffstat (limited to 'kickstarts')
-rw-r--r--kickstarts/legacy.ks1
-rw-r--r--kickstarts/sample.ks13
-rw-r--r--kickstarts/sample_end.ks4
3 files changed, 10 insertions, 8 deletions
diff --git a/kickstarts/legacy.ks b/kickstarts/legacy.ks
index c7771bd5..0cab7a89 100644
--- a/kickstarts/legacy.ks
+++ b/kickstarts/legacy.ks
@@ -47,5 +47,6 @@ SNIPPET::pre_partition_select
%post
$yum_config_stanza
SNIPPET::post_install_kernel_options
+SNIPPET::download_config_files
$kickstart_done
diff --git a/kickstarts/sample.ks b/kickstarts/sample.ks
index c6440b78..b91d8943 100644
--- a/kickstarts/sample.ks
+++ b/kickstarts/sample.ks
@@ -20,7 +20,7 @@ url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart profile, include them here.
$yum_repo_stanza
# Network information
-SNIPPET::network_config
+$SNIPPET('network_config')
# Reboot after installation
reboot
@@ -38,19 +38,20 @@ install
zerombr
# Magically figure out how to partition this thing
-SNIPPET::main_partition_select
+$SNIPPET('main_partition_select')
%pre
$kickstart_start
-SNIPPET::pre_partition_select
+$SNIPPET('pre_partition_select')
%packages
$func_install_if_enabled
%post
+
$yum_config_stanza
-SNIPPET::post_install_kernel_options
-$func_register_if_enabled
-$kickstart_template_files
+$SNIPPET('post_install_kernel_options')
+$SNIPPET('func_register_if_enabled')
+$SNIPPET('download_config_files')
$kickstart_done
diff --git a/kickstarts/sample_end.ks b/kickstarts/sample_end.ks
index 5ed67641..1d409a4f 100644
--- a/kickstarts/sample_end.ks
+++ b/kickstarts/sample_end.ks
@@ -56,6 +56,6 @@ $func_install_if_enabled
%post
$yum_config_stanza
SNIPPET::post_install_kernel_options
-$func_register_if_enabled
-$kickstart_done
+SNIPPET::func_register_if_enabled
+SNIPPET::download_config_files
%end