Changeset 68202 in vbox
- Timestamp:
- Jul 31, 2017 1:18:22 PM (7 years ago)
- Location:
- trunk/src/VBox/Main/UnattendedTemplates
- Files:
-
- 2 edited
-
ol_ks.cfg (modified) (3 diffs)
-
redhat67_ks.cfg (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/UnattendedTemplates/ol_ks.cfg
r68071 r68202 24 24 25 25 # System language 26 lang en_US26 lang @@VBOX_INSERT_LOCALE@@ 27 27 28 28 # Disable the unsupported hardware popup (vmmdev?). … … 36 36 37 37 # System timezone 38 timezone Europe/London38 timezone@@VBOX_COND_IS_RTC_USING_UTC@@ --utc@@VBOX_COND_END@@ @@VBOX_INSERT_TIME_ZONE_UX@@ 39 39 40 40 # Network information 41 network --bootproto=dhcp --device=eth0 --onboot=on 41 network --bootproto=dhcp --device=eth0 --onboot=on --hostname=@@VBOX_INSERT_HOSTNAME_FQDN_SH@@ 42 42 43 43 # System bootloader configuration … … 56 56 57 57 # Reboot after installation 58 reboot 58 # Note! Not sure exctly when the --eject option was added. Need to find out an make it optional. 59 reboot --eject 59 60 60 # # @todo @gnome-desktop is missing in OL-6.461 %packages 61 # Packages. We currently ignore missing packages/groups here to keep things simpler. 62 %packages --ignoremissing 62 63 @base 63 64 @core 65 @@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@ 64 66 @development 65 @ gnome-desktop67 @basic-desktop 66 68 @desktop-debugging 69 @desktop-platform 67 70 @fonts 71 @general-desktop 68 72 @graphical-admin-tools 69 73 @remote-desktop-clients 70 74 @x11 75 @@VBOX_COND_END@@ 76 77 # Prepare building the additions kernel module, try get what we can from the cdrom as it may be impossible 78 # to install anything from the post script: 79 kernel-headers 80 kernel-devel 81 glibc-devel 82 glibc-headers 83 gcc 84 dkms 85 make 86 bzip2 87 perl 88 71 89 %end 72 90 73 %post --log=/root/ks-post.log 74 ## @todo fix this. 75 cp /cdrom/vboxpostinstall.sh /root/vboxpostinstall.sh && chmod a+x /root/vboxpostinstall.sh && /bin/bash /root/vboxpostinstall.sh 76 eject /dev/sr0 77 eject /dev/sr1 78 eject /dev/sr2 79 init 5 91 # Post install happens in a different script. 92 # Note! We mount the CDROM explictily here since the location differs between fedora 26 to rhel5 93 # and apparently there isn't any way to be certain that anaconda didn't unmount it already. 94 %post --nochroot --log=/mnt/sysimage/root/ks-post.log 95 df -h 96 mkdir -p /tmp/vboxcdrom 97 mount /dev/cdrom /tmp/vboxcdrom 98 cp /tmp/vboxcdrom/vboxpostinstall.sh /mnt/sysimage/root/vboxpostinstall.sh 99 chmod a+x /mnt/sysimage/root/vboxpostinstall.sh 100 /bin/bash /mnt/sysimage/root/vboxpostinstall.sh --rhel 101 umount /tmp/vboxcdrom 80 102 %end 103 -
trunk/src/VBox/Main/UnattendedTemplates/redhat67_ks.cfg
r68201 r68202 25 25 # System language 26 26 lang @@VBOX_INSERT_LOCALE@@ 27 28 # Disable the unsupported hardware popup (vmmdev?). 29 # Note! Necessary with OL 6.4, perhaps rhel doesn't need this? 30 unsupported_hardware 27 31 28 32 # SELinux configuration
Note:
See TracChangeset
for help on using the changeset viewer.

