Skip to content

Commit 0c2bff1

Browse files
committed
fixed 'include' file text formatting
1 parent 65be96b commit 0c2bff1

14 files changed

+502
-403
lines changed

_includes/autoinstall_done

Lines changed: 0 additions & 64 deletions
This file was deleted.

_includes/autoinstall_done.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#set system_name = $getVar('system_name','')
2+
#set profile_name = $getVar('profile_name','')
3+
#if $system_name != ''
4+
#set object_type = 'system'
5+
#set object_name = $system_name
6+
#else if $profile_name != ''
7+
#set object_type = 'profile'
8+
#set object_name = $profile_name
9+
#else
10+
#set object_type = ''
11+
#set object_name = ''
12+
#end if
13+
#set breed = $getVar('breed','')
14+
#set os_version = $getVar('os_version','')
15+
#set srv = $getVar('http_server','')
16+
#set autoinstall = $getVar('autoinstall','')
17+
#set run_install_triggers = $getVar('run_install_triggers','')
18+
#set pxe_just_once = $getVar('pxe_just_once','')
19+
#set nopxe = ""
20+
#set save_autoinstall = ""
21+
#set runpost = ""
22+
#if $system_name != ''
23+
## PXE JUST ONCE
24+
#if $pxe_just_once
25+
#if $breed == 'redhat'
26+
#set nopxe = "\ncurl \"http://%s/cblr/svc/op/nopxe/system/%s\" -o /dev/null" % (srv, system_name)
27+
#else if $breed == 'vmware' and $os_version == 'esx4'
28+
#set nopxe = "\ncurl \"http://%s/cblr/svc/op/nopxe/system/%s\" -o /dev/null" % (srv, system_name)
29+
#else
30+
#set nopxe = "\nwget \"http://%s/cblr/svc/op/nopxe/system/%s\" -O /dev/null" % (srv, system_name)
31+
#end if
32+
#end if
33+
#end if
34+
#if $object_type != ''
35+
## SAVE AUTO INSTALLATION
36+
#if $autoinstall != ''
37+
#if $breed == 'redhat'
38+
#set save_autoinstall = "\ncurl \"http://%s/cblr/svc/op/autoinstall/%s/%s\" -o /root/cobbler.ks" % (srv, object_type, object_name)
39+
#else if $breed == 'suse'
40+
#set save_autoinstall = "\ncurl \"http://%s/cblr/svc/op/autoinstall/%s/%s\" -o /root/cobbler.xml" % (srv, object_type, object_name)
41+
#else if $breed == 'vmware' and $os_version == 'esx4'
42+
#set save_autoinstall = "\ncurl \"http://%s/cblr/svc/op/autoinstall/%s/%s\" -o /root/cobbler.ks" % (srv, object_type, object_name)
43+
#else if $breed == 'vmware'
44+
#set save_autoinstall = "\nwget \"http://%s/cblr/svc/op/autoinstall/%s/%s\" -O /var/log/cobbler.ks" % (srv, object_type, object_name)
45+
#else if $breed == 'debian' or $breed == 'ubuntu'
46+
#set save_autoinstall = "\nwget \"http://%s/cblr/svc/op/autoinstall/%s/%s\" -O /var/log/cobbler.seed" % (srv, object_type, object_name)
47+
#end if
48+
#end if
49+
## RUN POST TRIGGER
50+
#if $run_install_triggers
51+
#if $breed == 'redhat' or $breed == 'suse'
52+
#set runpost = "\ncurl \"http://%s/cblr/svc/op/trig/mode/post/%s/%s\" -o /dev/null" % (srv, object_type, object_name)
53+
#else if $breed == 'vmware' and $os_version == 'esx4'
54+
#set runpost = "\ncurl \"http://%s/cblr/svc/op/trig/mode/post/%s/%s\" -o /dev/null" % (srv, object_type, object_name)
55+
#else
56+
#set runpost = "\nwget \"http://%s/cblr/svc/op/trig/mode/post/%s/%s\" -O /dev/null" % (srv, object_type, object_name)
57+
#end if
58+
#end if
59+
#end if
60+
#echo $nopxe
61+
#echo $save_autoinstall
62+
#echo $runpost

_includes/autoinstall_start

Lines changed: 0 additions & 29 deletions
This file was deleted.

_includes/autoinstall_start.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#set system_name = $getVar('system_name','')
2+
#set profile_name = $getVar('profile_name','')
3+
#if $system_name != ''
4+
#set object_type = 'system'
5+
#set object_name = $system_name
6+
#else if $profile_name != ''
7+
#set object_type = 'profile'
8+
#set object_name = $profile_name
9+
#else
10+
#set object_type = ''
11+
#set object_name = ''
12+
#end if
13+
#set breed = $getVar('breed','')
14+
#set srv = $getVar('http_server','')
15+
#set run_install_triggers = $getVar('run_install_triggers','')
16+
#set runpre = ""
17+
#if $object_type != ''
18+
## RUN PRE TRIGGER
19+
#if $run_install_triggers
20+
#if $breed == 'redhat' or $breed == 'suse'
21+
#set runpre = "\ncurl \"http://%s/cblr/svc/op/trig/mode/pre/%s/%s\" -o /dev/null" % (srv, object_type, object_name)
22+
#else
23+
#set runpre = "\nwget \"http://%s/cblr/svc/op/trig/mode/pre/%s/%s\" -O /dev/null" % (srv, object_type, object_name)
24+
#end if
25+
#end if
26+
#end if
27+
#echo $runpre

_includes/example-preseed-excerpt.txt

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
### Apt setup
2+
# Choose, if you want to scan additional installation media
3+
# (default: false).
4+
d-i apt-setup/cdrom/set-first boolean false
5+
# You can choose to install non-free firmware.
6+
#d-i apt-setup/non-free-firmware boolean true
7+
# You can choose to install non-free and contrib software.
8+
#d-i apt-setup/non-free boolean true
9+
#d-i apt-setup/contrib boolean true
10+
# Uncomment the following line, if you don't want to have the sources.list
11+
# entry for a DVD/BD installation image active in the installed system
12+
# (entries for netinst or CD images will be disabled anyway, regardless of
13+
# this setting).
14+
#d-i apt-setup/disable-cdrom-entries boolean true
15+
# Uncomment this if you don't want to use a network mirror.
16+
#d-i apt-setup/use_mirror boolean false
17+
# Select which update services to use; define the mirrors to be used.
18+
# Values shown below are the normal defaults.
19+
#d-i apt-setup/services-select multiselect security, updates
20+
#d-i apt-setup/security_host string security.debian.org
21+
22+
# Additional repositories, local[0-9] available
23+
#d-i apt-setup/local0/repository string \
24+
# http://local.server/debian stable main
25+
#d-i apt-setup/local0/comment string local server
26+
# Enable deb-src lines
27+
#d-i apt-setup/local0/source boolean true
28+
# URL to the public key of the local repository; you must provide a key or
29+
# apt will complain about the unauthenticated repository and so the
30+
# sources.list line will be left commented out.
31+
#d-i apt-setup/local0/key string http://local.server/key
32+
# or one can provide it in-line by base64 encoding the contents of the
33+
# key file (with `base64 -w0`) and specifying it thus:
34+
#d-i apt-setup/local0/key string base64://LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCi4uLgo=
35+
# The content of the key file is checked to see if it appears to be ASCII-armoured.
36+
# If so it will be saved with an ".asc" extension, otherwise it gets a '.gpg' extension.
37+
# "keybox database" format is currently not supported. (see generators/60local in apt-setup's source)
38+
39+
# By default the installer requires that repositories be authenticated
40+
# using a known gpg key. This setting can be used to disable that
41+
# authentication. Warning: Insecure, not recommended.
42+
#d-i debian-installer/allow_unauthenticated boolean true

_includes/suse-15.6-autoyast.xml

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)