VirtualBox

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

Last change on this file was 69387, checked in by vboxsync, 7 years ago

UnattendedTemplates: scm updates

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 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 @@VBOX_INSERT_LOCALE@@
27
28# SELinux configuration
29selinux --enforcing
30
31# Installation logging level
32logging --level=info
33
34# System timezone
35timezone@@VBOX_COND_IS_RTC_USING_UTC@@ --utc@@VBOX_COND_END@@ @@VBOX_INSERT_TIME_ZONE_UX@@
36
37# Network information
38network --bootproto=dhcp --device=eth0 --onboot=on --hostname=@@VBOX_INSERT_HOSTNAME_FQDN_SH@@
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
55# Note! the --eject option requires Fedora 6 or later. Doesn't seem to work tough.
56# Note! doesn't really work. Maybe related to https://bugzilla.redhat.com/show_bug.cgi?id=810553 ??
57reboot --eject
58
59# Packages. We currently ignore missing packages/groups here to keep things simpler.
60%packages --ignoremissing
61@@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@
62@standard
63@hardware-support
64@@VBOX_COND_END@@@@VBOX_COND_IS_MINIMAL_INSTALLATION@@
65@core
66@@VBOX_COND_END@@
67
68# Prepare building the additions kernel module, try get what we can from the cdrom:
69kernel-headers
70kernel-devel
71glibc-devel
72glibc-headers
73gcc
74dkms
75make
76bzip2
77perl
78
79%end
80
81# Post install happens in a different script.
82%post --nochroot --log=/mnt/sysimage/root/ks-post.log
83mkdir -p /tmp/vboxcdrom
84mount /dev/cdrom /tmp/vboxcdrom
85cp /tmp/vboxcdrom/vboxpostinstall.sh /mnt/sysimage/root/vboxpostinstall.sh
86chmod a+x /mnt/sysimage/root/vboxpostinstall.sh
87/bin/bash /mnt/sysimage/root/vboxpostinstall.sh --fedora
88umount /tmp/vboxcdrom
89%end
90
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use