diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-10-06 16:14:10 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-10-06 16:14:10 -0400 |
commit | 0209e88e92f781872d2dd5a3440b5e04919beb41 (patch) | |
tree | 0332dbed8027c4ccb477bc45cbd57d8aad501cfa /kickstarts/sample.ks | |
parent | 2b9423f5949d062d6776c2457df58326641b04fa (diff) | |
download | cobbler-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/sample.ks')
-rw-r--r-- | kickstarts/sample.ks | 13 |
1 files changed, 7 insertions, 6 deletions
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 |