Last change
on this file since 68164 was 68071, checked in by vboxsync, 7 years ago |
Unattended: Split out the post installation script into a separate file. Dropped the IUnattended::loadSettings method, don't see much point. Simplified the script editor classes, moving the default filenames and templates to the installer constructor, allowing us to avoid having to 'new' the script editors. The editors are now direct members of UnattendedInstaller.
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.4 KB
|
Line | |
---|
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 | # SELinux configuration
|
---|
29 | selinux --enforcing
|
---|
30 |
|
---|
31 | # Installation logging level
|
---|
32 | logging --level=info
|
---|
33 |
|
---|
34 | # System timezone
|
---|
35 | timezone Europe/London
|
---|
36 |
|
---|
37 | # Network information
|
---|
38 | network --bootproto=dhcp --device=eth0 --onboot=on
|
---|
39 |
|
---|
40 | # System bootloader configuration
|
---|
41 | bootloader --location=mbr --append="nomodeset crashkernel=auto rhgb quiet"
|
---|
42 | zerombr
|
---|
43 |
|
---|
44 | # Partition clearing information
|
---|
45 | clearpart --all --initlabel
|
---|
46 |
|
---|
47 | # Disk partitioning information
|
---|
48 | part / --fstype ext4 --size 6000 --grow --asprimary
|
---|
49 | part swap --size 1024
|
---|
50 |
|
---|
51 | #Initial user
|
---|
52 | user --name=@@VBOX_INSERT_USER_LOGIN_SH@@ --password=@@VBOX_INSERT_USER_PASSWORD_SH@@
|
---|
53 |
|
---|
54 | # Reboot after installation
|
---|
55 | reboot
|
---|
56 |
|
---|
57 | %packages
|
---|
58 | @base
|
---|
59 | @core
|
---|
60 | @development
|
---|
61 | @basic-desktop
|
---|
62 | @desktop-debugging
|
---|
63 | @desktop-platform
|
---|
64 | @fonts
|
---|
65 | @general-desktop
|
---|
66 | @graphical-admin-tools
|
---|
67 | @remote-desktop-clients
|
---|
68 | @x11
|
---|
69 |
|
---|
70 | %end
|
---|
71 |
|
---|
72 | %post --log=/root/ks-post.log
|
---|
73 | ## @todo fix this.
|
---|
74 | cp /cdrom/vboxpostinstall.sh /root/vboxpostinstall.sh && chmod a+x /root/vboxpostinstall.sh && /bin/bash /root/vboxpostinstall.sh
|
---|
75 | eject /dev/sr0
|
---|
76 | eject /dev/sr1
|
---|
77 | eject /dev/sr2
|
---|
78 | init 5
|
---|
79 | %end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.