Script Kickstart Custom Iso Auto DHCP IP And Install Package Wget | Tomcat [Centos7]

 

 

tentangit.com

#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512

# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
#SELinux COnfigurasi
selinux --disabled
#Firewall configuration
firewall --disabled
#use text instal
text
# Network information
network  --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network  --hostname=localhost.localdomain

# Set repo to mirror.centos.org
repo --name="CentOS" --baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ --cost=100
repo --name="Updates" --baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ --cost=100

# Root password
rootpw --iscrypted $6$z5PtUVDNUcM5bXIB$9Fz2c5wMiAICFVWyoon.xhbNMAVxmK.L3KuihkM6tnAe17mLo/6UJBlxcCBlaur9UJNO6ecVkV3TZbOLYqImw1
# System timezone
timezone Asia/Jakarta --isUtc --nontp
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
#clearpart --none --initlabel
clearpart --drives=sda --all --initlabel

%packages
@core --nodefaults
wget
tomcat
%end

0 Komentar