VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/ol_ks.cfg@ 68071

最後變更 在這個檔案從68071是 68071,由 vboxsync 提交於 7 年 前

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.

  • 屬性 svn:eol-style 設為 LF
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.5 KB
 
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# Disable the unsupported hardware popup (vmmdev?).
29unsupported_hardware
30
31# SELinux configuration
32selinux --enforcing
33
34# Installation logging level
35logging --level=info
36
37# System timezone
38timezone Europe/London
39
40# Network information
41network --bootproto=dhcp --device=eth0 --onboot=on
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# Reboot after installation
58reboot
59
60## @todo @gnome-desktop is missing in OL-6.4
61%packages
62@base
63@core
64@development
65@gnome-desktop
66@desktop-debugging
67@fonts
68@graphical-admin-tools
69@remote-desktop-clients
70@x11
71%end
72
73%post --log=/root/ks-post.log
74## @todo fix this.
75cp /cdrom/vboxpostinstall.sh /root/vboxpostinstall.sh && chmod a+x /root/vboxpostinstall.sh && /bin/bash /root/vboxpostinstall.sh
76eject /dev/sr0
77eject /dev/sr1
78eject /dev/sr2
79init 5
80%end
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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