You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
auth --useshadow --enablemd5
|
|
selinux --disabled
|
|
firewall --enabled
|
|
firstboot --enabled
|
|
|
|
# Enable/Disable services
|
|
services --enabled=lightdm,acpid,alsa,atd,avahi-daemon,cpupower,irqbalance,mandi,dbus,netfs,partmon,resolvconf,rpcbind,sshd,sound,udev-post,mandrake_everytime,crond,shorewall,cups,smb
|
|
services --disabled=pptp,pppoe,ntpd,iptables,ip6tables,nfs-server,mysqld,abrtd,mysql,postfix,network,winbind,packagekit-offline-update,dnsmasq
|
|
|
|
# partition
|
|
part / --size 12268 --fstype ext4
|
|
|
|
# configure Time Zone
|
|
timezone --utc Europe/Moscow
|
|
|
|
# configure language
|
|
lang en_US.UTF-8 --addsupport=ru_RU
|
|
|
|
# configure keyboard
|
|
keyboard en
|
|
|
|
# repository
|
|
%include repobase.ks
|
|
|
|
%packages --nocore
|
|
%include lxqtpack.ks
|
|
%end
|
|
|
|
%post
|
|
|
|
# install live user
|
|
#$installroot/usr/sbin/groupadd nopasswdlogin
|
|
#$installroot/usr/sbin/groupadd sambashare
|
|
#$installroot/usr/sbin/adduser -G wheel,users,nopasswdlogin,sambashare -c "ROSA Live User" -m live
|
|
#$installroot/usr/bin/passwd -d live
|
|
#$installroot/bin/mkdir -p $installroot/home/live
|
|
#$installroot/bin/chown -R live:live $installroot/home/live
|
|
|
|
/usr/sbin/groupadd nopasswdlogin
|
|
/usr/sbin/groupadd autologin
|
|
/usr/sbin/groupadd sambashare
|
|
#/usr/sbin/adduser -G wheel,users,sambashare,nopasswdlogin,autologin -c "ROSA Live User" live
|
|
#/usr/bin/passwd -d live
|
|
#/bin/mkdir -p $installroot/home/live
|
|
#/bin/chown -R live:live $installroot/home/live
|
|
|
|
# autologin sddm
|
|
#sed -e 's/^User=/User=live/' -i /etc/sddm.conf
|
|
#sed -e 's/^Session=/Session=lxqt.desktop/' -i /etc/sddm.conf
|
|
|
|
|
|
#sed -e 's/^User=/User=live/' -i $installroot/etc/sddm.conf
|
|
# default session
|
|
#sed -e 's/^Session=/Session=lxqt.desktop/' -i $installroot/etc/sddm.conf
|
|
|
|
%end
|