VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/lgw_ks.cfg@ 106683

Last change on this file since 106683 was 85359, checked in by vboxsync, 4 years ago

OCI: (bugref:9469) Enable cloud network feature in OSE, LogRel messages and copyright fixes.

  • 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 DVD
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# Disable the unsupported hardware popup (vmmdev?).
29unsupported_hardware
30
31# SELinux configuration
32# selinux --enforcing
33
34# Installation logging level
35logging --level=info
36
37# System timezone
38timezone@@VBOX_COND_IS_RTC_USING_UTC@@ --utc@@VBOX_COND_END@@ @@VBOX_INSERT_TIME_ZONE_UX@@
39
40# Network information
41network --bootproto=dhcp --device=enp0s3 --onboot=on --hostname=@@VBOX_INSERT_HOSTNAME_FQDN_SH@@
42
43# System bootloader configuration
44bootloader --location=mbr --append="nomodeset crashkernel=auto rhgb quiet"
45zerombr
46
47# Partition clearing information
48clearpart --all --initlabel
49
50# Disk partitioning information
51part / --fstype ext4 --size 6000 --grow --asprimary
52part swap --size 1024
53
54#Initial user
55user --name=@@VBOX_INSERT_USER_LOGIN_SH@@ --password=@@VBOX_INSERT_USER_PASSWORD_SH@@
56
57# Shut down after installation
58poweroff
59
60# Packages. We currently ignore missing packages/groups here to keep things simpler.
61%packages --ignoremissing
62@base
63@core
64
65# Prepare building the additions kernel module, try get what we can from the cdrom as it may be impossible
66# to install anything from the post script:
67kernel-headers
68kernel-devel
69glibc-devel
70glibc-headers
71gcc
72dkms
73make
74bzip2
75perl
76
77%end
78
79# Post install happens in a different script.
80# Note! We mount the CDROM explictily here since the location differs between fedora 26 to rhel5
81# and apparently there isn't any way to be certain that anaconda didn't unmount it already.
82%post --nochroot --log=/mnt/sysimage/root/ks-post.log
83df -h
84mkdir -p /tmp/vboxcdrom
85mount /dev/cdrom /tmp/vboxcdrom
86cp /tmp/vboxcdrom/vboxpostinstall.sh /mnt/sysimage/root/vboxpostinstall.sh
87chmod a+x /mnt/sysimage/root/vboxpostinstall.sh
88/bin/bash /mnt/sysimage/root/vboxpostinstall.sh --rhel
89umount /tmp/vboxcdrom
90%end
91
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