VirtualBox

source: vbox/trunk/src/VBox/Installer/common/unattended_templates/redhat67_ks.cfg@ 67939

Last change on this file since 67939 was 67881, checked in by vboxsync, 8 years ago

UnattendedScript: Converted windows sif template to the mad libs class. Fixed template properties.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1#platform=x86, AMD64, or Intel EM64T
2#version=DEVEL
3
4# Firewall configuration
5firewall --disabled
6
7# Install OS instead of upgrade
8install
9
10# Use CDROM installation media
11cdrom
12
13# Root password
14rootpw --plaintext @@VBOX_INSERT_ROOT_PASSWORD_SH@@
15
16# System authorization information
17auth --useshadow --passalgo=sha512
18
19# Use text mode install
20text
21
22# System keyboard
23keyboard us
24
25# System language
26lang en_US
27
28# SELinux configuration
29selinux --enforcing
30
31# Installation logging level
32logging --level=info
33
34# System timezone
35timezone Europe/London
36
37# Network information
38network --bootproto=dhcp --device=eth0 --onboot=on
39
40# System bootloader configuration
41bootloader --location=mbr --append="nomodeset crashkernel=auto rhgb quiet"
42zerombr
43
44# Partition clearing information
45clearpart --all --initlabel
46
47# Disk partitioning information
48part / --fstype ext4 --size 6000 --grow --asprimary
49part swap --size 1024
50
51#Initial user
52user --name=@@VBOX_INSERT_USER_LOGIN_SH@@ --password=@@VBOX_INSERT_USER_PASSWORD_SH@@
53
54# Reboot after installation
55reboot
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@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
74mkdir -p /mnt/cdrom
75mount -o ro /dev/sr2 /mnt/cdrom
76echo
77echo "Installing VirtualBox Guest Additions..."
78bash /mnt/cdrom/VBoxLinuxAdditions.run
79usermod -a -G vboxsf @@VBOX_INSERT_USER_LOGIN_SH@@
80@@VBOX_COND_END@@
81eject /dev/sr0
82eject /dev/sr1
83eject /dev/sr2
84init 5
85%end
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette