1 | #platform=x86, AMD64, or Intel EM64T
|
---|
2 | #version=DEVEL
|
---|
3 |
|
---|
4 | # Firewall configuration
|
---|
5 | firewall --disabled
|
---|
6 |
|
---|
7 | # Install OS instead of upgrade
|
---|
8 | install
|
---|
9 |
|
---|
10 | # Use CDROM installation media
|
---|
11 | cdrom
|
---|
12 |
|
---|
13 | # Root password
|
---|
14 | rootpw --plaintext @@VBOX_INSERT_ROOT_PASSWORD_SH@@
|
---|
15 |
|
---|
16 | # System authorization information
|
---|
17 | auth --useshadow --passalgo=sha512
|
---|
18 |
|
---|
19 | # Use text mode install
|
---|
20 | text
|
---|
21 |
|
---|
22 | # System keyboard
|
---|
23 | keyboard us
|
---|
24 |
|
---|
25 | # System language
|
---|
26 | lang en_US
|
---|
27 |
|
---|
28 | # Disable the unsupported hardware popup (vmmdev?).
|
---|
29 | unsupported_hardware
|
---|
30 |
|
---|
31 | # SELinux configuration
|
---|
32 | selinux --enforcing
|
---|
33 |
|
---|
34 | # Installation logging level
|
---|
35 | logging --level=info
|
---|
36 |
|
---|
37 | # System timezone
|
---|
38 | timezone Europe/London
|
---|
39 |
|
---|
40 | # Network information
|
---|
41 | network --bootproto=dhcp --device=eth0 --onboot=on
|
---|
42 |
|
---|
43 | # System bootloader configuration
|
---|
44 | bootloader --location=mbr --append="nomodeset crashkernel=auto rhgb quiet"
|
---|
45 | zerombr
|
---|
46 |
|
---|
47 | # Partition clearing information
|
---|
48 | clearpart --all --initlabel
|
---|
49 |
|
---|
50 | # Disk partitioning information
|
---|
51 | part / --fstype ext4 --size 6000 --grow --asprimary
|
---|
52 | part swap --size 1024
|
---|
53 |
|
---|
54 | #Initial user
|
---|
55 | user --name=@@VBOX_INSERT_USER_LOGIN_SH@@ --password=@@VBOX_INSERT_USER_PASSWORD_SH@@
|
---|
56 |
|
---|
57 | # Reboot after installation
|
---|
58 | reboot
|
---|
59 |
|
---|
60 | ## @todo @gnome-desktop is missing in OL-6.4
|
---|
61 | %packages
|
---|
62 | @base
|
---|
63 | @core
|
---|
64 | @development
|
---|
65 | @gnome-desktop
|
---|
66 | @desktop-debugging
|
---|
67 | @fonts
|
---|
68 | @graphical-admin-tools
|
---|
69 | @remote-desktop-clients
|
---|
70 | @x11
|
---|
71 | %end
|
---|
72 |
|
---|
73 | %post --log=/root/ks-post.log
|
---|
74 | ## @todo fix this.
|
---|
75 | cp /cdrom/vboxpostinstall.sh /root/vboxpostinstall.sh && chmod a+x /root/vboxpostinstall.sh && /bin/bash /root/vboxpostinstall.sh
|
---|
76 | eject /dev/sr0
|
---|
77 | eject /dev/sr1
|
---|
78 | eject /dev/sr2
|
---|
79 | init 5
|
---|
80 | %end
|
---|