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
Next 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/01 13:05] admin
Line 42: Line 42:
 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 90:
 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