티스토리 뷰
# For text based installation
text
# For graphical based installation
#graphical
#Install Red Hat Linux instead of upgrade
install
#Use Web installation
url --url=http://192.168.0.110/kickstart/centos7
#System language
lang ko_KR.UTF-8
#System keyboard
keyboard ko
#Root password
#rootpw --iscrypted $1$uuA80su8$zCq2SuisF84cMWEjAgea40
#rootpw --iscrypted $1$gE2Y.VdX$k8WncYWueN9YX/UXWjDwt.
rootpw "password1!"
#sshpw --username=root
#Disk partition
#System bootloader configuration
#bootloader --location=mbr --append="net.ifnames=1 biosdevname=0"
#bootloader --location=mbr --append="net.ifnames=1 biosdevname=1"
bootloader --location=mbr
zerombr
#clearpart --all --drives=sda --initlabel
clearpart --all --initlabel
part /boot --fstype xfs --size=512 --asprimary --ondisk=sda
part swap --asprimary --fstype="swap" --size=8192 --ondisk=sda
part /home --fstype xfs --size=10000 --ondisk=sda
part / --fstype xfs --size=30000 --ondisk=sda
part /var --fstype xfs --size=15000 --ondisk=sda
part /tmp --fstype xfs --size=3000 --ondisk=sda
#part /pang --fstype xfs --size=3000 --ondisk=sda --grow
part pv.01 --size=1 --grow --asprimary --ondisk=sda
volgroup VGos pv.01
logvol /pang --fstype xfs --name=pang --vgname=VGos --size=1 --grow
#Network
network --bootproto=dhcp --onboot=on --device=eth0 --noipv6 --hostname centos7
#Sytem timezone
timezone --utc Asia/Seoul
#Firewall configuration
firewall --disabled
#SELinux configuration
selinux --disabled
firstboot --disable
#Do not configure XWindows
skipx
#Reboot after installation
reboot
%packages
@core
curl
policycoreutils
vim
net-tools
wget
lvm2
rsync
perl
sed
man
gdisk
ethtool
traceroute
xinetd
dmidecode
pciutils
iproute
findutils
rpm
yum-utils
tar
gzip
bzip2
zip
diffutils
python
bind-utils
coreutils
ntpdate
e2fsprogs
xfsprogs
cronie
openssh
openssh-clients
grep
util-linux-ng
redhat-lsb-core
libselinux-python
%end
%post --log=/root/ks-post.log
cat /proc/scsi/scsi
#if [ `egrep -i -c 'vmware' /proc/scsi/scsi` -eq 0 ] && [ `lsmod | egrep -i -c 'virtio|hv_storvsc'` -eq 0 ] && \
# [ `lspci 2> /dev/null| grep -ic 'XenSource'` -eq 0 ]; then
# #pv extend /
# lvextend -l +100%FREE /dev/VGos/LVroot
# fsadm resize /dev/VGos/LVroot
#fi
#%include http://192.168.0.110/kickstart/postscript/rh-common_post_script.sh
%end
- Total
- Today
- Yesterday
- centos7 ntp
- 리눅스 커맨드 로그남기기
- cgroup
- vm rac
- dl20
- linux command log
- chrony
- 윈도우서버 계정 관려
- 특정 라인삭제
- ISCSI 볼륨 RAC
- dl20 centos7
- nutanix rac
- DL20 GEN9 장비에 CentOS 7
- ipmi
- ansible ios
- ios ansible
- shell connmad log
- dl20 g9 centos7 설치
- ansible network
- kernel 변경
- ILO
- CentOS 7 GUI
- cisco ansible
- 특정 문구 치환
- 윈도우 cmd 계정 관리
- nxos ansible
- windows.old 강제삭제
- oracle linux8 kernel
- cmd로 계정 생성
- cmd로 윈도우 계정 관리
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |