Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos_6.5_on_apu_-_kickstart_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
centos_6.5_on_apu_-_kickstart_file [2014/05/26 07:27] admincentos_6.5_on_apu_-_kickstart_file [2014/06/10 12:08] admin
Line 1: Line 1:
-=====CentOS 6.5 on APU - KickStart file=====+{{tag>[hardware apu centos 6.5 kickstart]}} 
 + 
 +=====PC Engines APU - CentOS 6.5 KickStart=====
 **2014-05-22 - updated SSD config** **2014-05-22 - updated SSD config**
  
Line 42: Line 44:
 timezone --utc Europe/Amsterdam timezone --utc Europe/Amsterdam
  
-# Set serial console and change disk elevator to noop for SSD+# Set serial console. 
-bootloader --location=mbr --driveorder=sda --append="console=ttyS0,115200n8 elevator=noop"+bootloader --location=mbr --driveorder=sda --append="console=ttyS0,115200n8"
  
 # Any disks whose formatting is unrecognized are initialized. # Any disks whose formatting is unrecognized are initialized.
Line 90: Line 92:
 trimlog=/var/log/fstrim.log trimlog=/var/log/fstrim.log
 echo > \$trimlog echo > \$trimlog
-for mount in \`lsblk -ro \"rota,rm,fstype,mountpoint\" | egrep \"0 0 ext[2|3|4]\" | cut -d \\" -f4\`; do+for mount in \`lsblk -ro "rota,rm,fstype,mountpoint" | egrep "0 0 ext[2|3|4]" | cut -d " " -f4\`; do
   printf "\`date\` - \`fstrim -v \$mount\`\n" >>\$trimlog   printf "\`date\` - \`fstrim -v \$mount\`\n" >>\$trimlog
 done done
centos_6.5_on_apu_-_kickstart_file.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1