Создание kickstart файла

Материал из Wiki AlterOS
Версия от 16:19, 7 ноября 2019; Belonozhkin.pa (обсуждение | вклад) (Новая страница: « #version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use network installation # Use graphical install graphical # Run…»)

(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use network installation
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='ru','us' --switch='grp:alt_shift_toggle'
# System language
lang ru_RU.UTF-8

# Network information
network  --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$AUyJlUR893vOqQLO$R8/DYWEOqWqbM7bkK21V93gorL61yiShaRFOG7h6UU2/S7KRPUq4pi0LfJ62nW1bERRy5a5sZvd/18ozEGmN81
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/Moscow --isUtc --ntpservers=time100.stupi.se,host-79-164-47-236.qwerty.ru,128.0.142.251,ntp2.aas.ru,95-165-138-248.static.spd-mgts.ru,host55.rax.ru,ns1.ooonet.ru,cello.corbina.net
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
###   откуда устанавливать
url --url="http://192.168.5.161/alteros7_x64"


autopart --type=lvm 
# Partition clearing information
clearpart --all --initlabel --drives=sda
%packages
@^workstation
@base
@cinnamon-desktop
@core
@desktop-debugging
@dial-up
@directory-client
@fonts
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@java-platform
@multimedia
@network-file-system-client
@networkmanager-submodules
@office-suite
@print-client
@x11
chrony
%end


%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
rootpw --iscrypted xyJkVhXGAZ8tM
user --groups=wheel --name=user --password=xyJkVhXGAZ8tM --iscrypted --gecos=user
%post --log=/root/ks-post.log
cat >> /etc/grub.d/40_custom << EOF
   set superusers="root"
   export superusers
   password_pbkdf2 root grub.pbkdf2.sha512.10000.28F39C623DF4F45876D8D9CA87FAF58F04B5F3B2A5239FE5809EFA4B274283310713D381BE847E757BBB6B8CADCB5AD148AEAC93FB6C615C6F47DB5EF8D46C9.7251C0CE33F7108F4A4AA977BFEDCEA3402E35FDA0082C83B74CC83E413A3456A6D7EBB080912D0EF466BA0089B1AC0F749954F1209DD729C1728C5159B2AA0B
EOF
grub2-mkconfig -o /boot/grub2/grub.cfg
%end