-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaoshift.cfg
58 lines (45 loc) · 881 Bytes
/
paoshift.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
echo -ne "#KSVER=RHEL7\n\n"
cat ks_gen_cfg
cat ks_bootloader_noraid
./ks_rootpw
./ks_sshpw
cat net_paoshift
cat ks_install_src_el7
##cat ks_part_vm
## add packages selections
echo '
###########################################################
%packages --ignoremissing --excludedocs
'
cat ks_pkg_generic_vm
cat ks_pkg_yum
echo '
%end
'
## create post section
echo '
###########################################################
%post --log=/root/ks.log
#!/bin/bash
'
cat ks_post_cleanup_repos_el7
cat ks_post_repo_2localrepos
cat ks_post_repo_elrepo
cat ks_post_pkg_elrepo
cat ks_post_repo_egicerts
cat ks_post_repo_umd
cat ks_post_pkg_umd_ui
cat ks_post_iptables
cat ks_post_chrony
cat ks_post_ssh
#cat ks_post_pkg_vboxadd
cat ks_post_finishcfg
cat ks_post_dracut
cat ks_post_boot
echo '
echo "End of Kickstart"
%end
%addon com_redhat_kdump --disable
%end
'