summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/scripts
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-08-02 21:56:23 -0400
committerbaigk <baiguoku@huawei.com>2015-08-02 22:46:09 -0400
commit79b571dae951ba9bfe36440750c1a1408b19cd69 (patch)
treee930de3f7b9bb15f5a705fcc5b13011a500e91f4 /deploy/adapters/cobbler/scripts
parent9e4cf51b4b2815e90824859b52d649b6c37219d9 (diff)
support deployment os of ubuntu 14.04 with cobbler for compass
JIRA: COMPASS-3 Change-Id: I703658b04ec7ec1df4a2a3b9eac5656419d8fd9f Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/cobbler/scripts')
-rw-r--r--deploy/adapters/cobbler/scripts/partman_early_default5
-rw-r--r--deploy/adapters/cobbler/scripts/preseed_early_default7
-rw-r--r--deploy/adapters/cobbler/scripts/preseed_late_default18
3 files changed, 30 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/scripts/partman_early_default b/deploy/adapters/cobbler/scripts/partman_early_default
new file mode 100644
index 00000000..0891b037
--- /dev/null
+++ b/deploy/adapters/cobbler/scripts/partman_early_default
@@ -0,0 +1,5 @@
+# Start partman_early_default
+# This script is not run in the chroot /target by default
+$SNIPPET('preseed_pre_partition_disks')
+# End partman_early_default
+
diff --git a/deploy/adapters/cobbler/scripts/preseed_early_default b/deploy/adapters/cobbler/scripts/preseed_early_default
new file mode 100644
index 00000000..f1c2a7c0
--- /dev/null
+++ b/deploy/adapters/cobbler/scripts/preseed_early_default
@@ -0,0 +1,7 @@
+# Start preseed_early_default
+# This script is not run in the chroot /target by default
+$SNIPPET('kickstart_start')
+$SNIPPET('preseed_pre_anamon')
+echo "processed preseed_pre_anamon" >> /tmp/preseed.log
+$SNIPPET('preseed_pre_install_network_config')
+# End preseed_early_default
diff --git a/deploy/adapters/cobbler/scripts/preseed_late_default b/deploy/adapters/cobbler/scripts/preseed_late_default
new file mode 100644
index 00000000..d6dc29f9
--- /dev/null
+++ b/deploy/adapters/cobbler/scripts/preseed_late_default
@@ -0,0 +1,18 @@
+# Start preseed_late_default
+# This script runs in the chroot /target by default
+$SNIPPET('preseed_post_install_kernel_options')
+$SNIPPET('preseed_post_install_network_config')
+$SNIPPET('preseed_post_partition_disks')
+$SNIPPET('preseed_ssh')
+$SNIPPET('preseed_ntp')
+$SNIPPET('preseed_post_apt_repo_config')
+#if $getVar('tool', '') != ''
+ #set $preseed_tool = "preseed_%s" % $tool
+$SNIPPET($preseed_tool)
+#end if
+$SNIPPET('preseed_limits.conf')
+$SNIPPET('preseed_sysctl.conf')
+$SNIPPET('preseed_rsyslog.conf')
+$SNIPPET('preseed_post_anamon')
+$SNIPPET('kickstart_done')
+# End preseed_late_default