VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/fedora_ks.cfg@ 68148

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

Unattended: VISO file mask fixes.

  • 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# Disk partitioning information
47part / --fstype ext4 --size 6000 --grow --asprimary
48part swap --size 1024
49
50#Initial user
51user --name=@@VBOX_INSERT_USER_LOGIN_SH@@ --password=@@VBOX_INSERT_USER_PASSWORD_SH@@
52
53# Reboot after installation
54reboot
55
56%packages
57@@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@
58@standard
59@hardware-support
60@@VBOX_COND_END@@@@VBOX_COND_IS_MINIMAL_INSTALLATION@@
61@core
62@@VBOX_COND_END@@
63%end
64
65%post --log=/root/ks-post.log
66yum -y install "kernel-devel-$(uname -r)"
67yum -y install gcc
68
69@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
70## @todo fix this.
71cp /cdrom/vboxpostinstall.sh /root/vboxpostinstall.sh && chmod a+x /root/vboxpostinstall.sh && /bin/bash /root/vboxpostinstall.sh
72@@VBOX_COND_END@@
73eject /dev/sr0
74eject /dev/sr1
75eject /dev/sr2
76init 5
77%end
78
Note: See TracBrowser for help on using the repository browser.

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