![]() Logvol / -fstype ext4 -name=LogVol00 -vgname=VolGroup00 -size=1024 -grow We use LVM here.īootloader -location=mbr -driveorder=sda -append="crashkernel=auto rhgb quiet" # Storage partitioning and formatting is below. # Enable iptables, but allow SSH from anywhereĪuthconfig -enableshadow -passalgo=sha512 # Set the root password below !! Remember to change this once the install has completed !! Network -device eth0 -bootproto dhcp -onboot=yes # You'll need a DHCP server on the network for the new install to be reachable via SSH # Tell anaconda we're doing a fresh install and not an upgrade Read -r _ _ ZONE _ $CENTOS_CUSTOM_PATH/ks.cfg << KSEOF # Get Keyboard and Timezone for current host # (cd $CENTOS_CUSTOM_PATH/Packages yumdownloader $(for i in * The following command downloads all updates : # * test package update to reduce the update task on the target system. # This script has be tested with CentOS 7.2 (on the orign server) to install CentOS 7.2 (on the target server) # This method is based on excellent article # This script create a Centos Minimal Unattended ISO
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |