Various small fixes
- Added a few packages - Fixed network DNS issue during iso creation - Cleaned up instructions -Skip G.
This commit is contained in:
parent
5866543faf
commit
85ad2293cb
@ -12,10 +12,11 @@
|
|||||||
#
|
#
|
||||||
# - sudo setenforce 0
|
# - sudo setenforce 0
|
||||||
# - mock -r rocky-9-x86_64 --init; mock -r rocky-9-x86_64 --install lorax-lmc-novirt vim pykickstart git
|
# - mock -r rocky-9-x86_64 --init; mock -r rocky-9-x86_64 --install lorax-lmc-novirt vim pykickstart git
|
||||||
# - ksflatten -c NC_Rocky9_Workstation.ks -o /var/lib/mock/rocky-9-x86_64/root/nc_rocky9_kickstart.ks
|
# - sudo ksflatten -c NC_Rocky9_Workstation.ks -o /var/lib/mock/rocky-9-x86_64/root/nc_rocky9_kickstart.ks
|
||||||
# - mock -r rocky-9-x86_64 --shell --isolation simple --enable-network
|
# - mock -r rocky-9-x86_64 --shell --isolation simple --enable-network
|
||||||
# - time livemedia-creator --ks /nc_rocky9_kickstart.ks --no-virt --resultdir /var/lmc --project="Rocky Linux 9 No Compromises Workstation" --make-iso --volid Rocky9-NC --iso-only --iso-name Rocky9_NoCompromises-Workstation-x86_64.iso --releasever=9 --nomacboot --extra-boot-args 'i915.force_probe=* rd.driver.blacklist=nouveau'
|
# - time livemedia-creator --ks /nc_rocky9_kickstart.ks --no-virt --resultdir /var/lmc --project="Rocky Linux NC Workstation" --make-iso --volid Rocky9-NC --iso-only --iso-name Rocky9_NoCompromises-Workstation-x86_64.iso --releasever=9 --nomacboot --extra-boot-args 'i915.force_probe=* rd.driver.blacklist=nouveau' --resultdir ./Rocky9_NC_iso
|
||||||
|
#
|
||||||
|
# Resulting iso should be in ./Rocky9_NC_iso/ , along with creation logs
|
||||||
|
|
||||||
# Include each component separately:
|
# Include each component separately:
|
||||||
%include include/ws9_repos_pkgs.ks
|
%include include/ws9_repos_pkgs.ks
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
# Fixes and tweaks to make things easier for end-users
|
# Fixes and tweaks to make things easier for end-users
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
# Need DNS available, so we'll hack it up real quick:
|
||||||
|
echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
|
|
||||||
# switch default kernel
|
# switch default kernel
|
||||||
sed -i 's/DEFAULTKERNEL=kernel/DEFAULTKERNEL=kernel-lt/g' /etc/sysconfig/kernel
|
echo -e "DEFAULTKERNEL=kernel-lt-core\nUPDATEDEFAULT=yes" > /etc/sysconfig/kernel
|
||||||
|
#sed -i 's/DEFAULTKERNEL=kernel/DEFAULTKERNEL=kernel-lt/g' /etc/sysconfig/kernel
|
||||||
|
|
||||||
# Enable crb and extras by default
|
# Enable crb and extras by default
|
||||||
dnf config-manager --enable crb
|
dnf config-manager --enable crb
|
||||||
@ -46,6 +50,9 @@ grub2-mkconfig -o /boot/grub2/grub.cfg
|
|||||||
${end}
|
${end}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Clean up some space at the end:
|
||||||
|
dnf -y clean all
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ kernel-lt-devel
|
|||||||
kernel-lt-modules
|
kernel-lt-modules
|
||||||
kernel-lt-modules-extra
|
kernel-lt-modules-extra
|
||||||
kernel-headers
|
kernel-headers
|
||||||
|
kernel-lt-tools
|
||||||
|
|
||||||
# we want to exclude the stock kernel and dependent modules:
|
# we want to exclude the stock kernel and dependent modules:
|
||||||
-kernel
|
-kernel
|
||||||
@ -56,7 +57,7 @@ kernel-headers
|
|||||||
-vdo
|
-vdo
|
||||||
-kmod-kvdo
|
-kmod-kvdo
|
||||||
|
|
||||||
|
# Nvidia + gfx:
|
||||||
kmod-nvidia-latest-dkms
|
kmod-nvidia-latest-dkms
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
glx-utils
|
glx-utils
|
||||||
@ -69,14 +70,15 @@ elrepo-release
|
|||||||
|
|
||||||
# Convenience packages:
|
# Convenience packages:
|
||||||
tmux
|
tmux
|
||||||
|
screen
|
||||||
vim-enhanced
|
vim-enhanced
|
||||||
nano
|
nano
|
||||||
gstreamer1-libav
|
|
||||||
gstreamer1-plugins-ugly
|
|
||||||
ffmpeg
|
|
||||||
wget
|
wget
|
||||||
telnet
|
telnet
|
||||||
netcat
|
netcat
|
||||||
|
net-tools
|
||||||
|
bash-completion
|
||||||
|
|
||||||
|
|
||||||
# Office/productivity:
|
# Office/productivity:
|
||||||
libreoffice-calc
|
libreoffice-calc
|
||||||
@ -88,6 +90,15 @@ libreoffice-writer
|
|||||||
onlyoffice-desktopeditors
|
onlyoffice-desktopeditors
|
||||||
onlyoffice-repo
|
onlyoffice-repo
|
||||||
|
|
||||||
|
# Media:
|
||||||
|
gstreamer1-libav
|
||||||
|
gstreamer1-plugins-ugly
|
||||||
|
ffmpeg
|
||||||
|
vlc
|
||||||
|
vlc-extras
|
||||||
|
|
||||||
|
# Customization:
|
||||||
|
grub-customizer
|
||||||
|
|
||||||
memtest86+
|
memtest86+
|
||||||
syslinux
|
syslinux
|
||||||
|
@ -159,7 +159,7 @@ touch /.liveimg-configured
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||||
# the hostname must be something else than 'localhost'
|
# the hostname must be something else than 'localhost'
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||||
echo "localhost-CIQ" > /etc/hostname
|
echo "Rocky9-Workstation" > /etc/hostname
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user