Skip to content

Instantly share code, notes, and snippets.

@mineiro
Last active December 16, 2015 11:59
Show Gist options
  • Select an option

  • Save mineiro/5431336 to your computer and use it in GitHub Desktop.

Select an option

Save mineiro/5431336 to your computer and use it in GitHub Desktop.

Revisions

  1. José Netto revised this gist Apr 22, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion centos6-ks.cfg
    Original file line number Diff line number Diff line change
    @@ -34,6 +34,6 @@ clearpart --all
    autopart

    %packages --nobase --excludedocs
    base
    @base
    vim
    %end
  2. José Netto revised this gist Apr 22, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion centos6-ks.cfg
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ zerombr
    # Partition clearing information
    clearpart --all
    # Auto-partition
    autopart --type=lvm
    autopart

    %packages --nobase --excludedocs
    base
  3. José Netto created this gist Apr 21, 2013.
    39 changes: 39 additions & 0 deletions centos6-ks.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    # Install OS instead of upgrade
    install
    # Firewall configuration
    firewall --enabled --ssh
    # Keyboard layouts
    keyboard 'us'# Use network installation
    url --url="http://mirror.centos.org/centos/6/os/x86_64"
    # Network information
    network --bootproto=dhcp --device=eth0
    # Reboot after installation
    reboot
    # Root password
    rootpw --iscrypted $1$wRM7oByu$BO7DkoYRveZNgRcSX89jt.
    # System timezone
    timezone America/Sao_Paulo
    # System authorization information
    auth --useshadow --passalgo=md5
    # Use text mode install
    text
    # System language
    lang en_US
    # SELinux configuration
    selinux --enforcing
    # Do not configure the X Window System
    skipx

    # System bootloader configuration
    bootloader --location=mbr
    # Clear the Master Boot Record
    zerombr
    # Partition clearing information
    clearpart --all
    # Auto-partition
    autopart --type=lvm

    %packages --nobase --excludedocs
    base
    vim
    %end