zoukankan      html  css  js  c++  java
  • linux 自动化安装系统 -KS文件

    # Kickstart file automatically generated by anaconda.

    install
    harddrive --partition=sdb2 --dir=
    lang en_US.UTF-8
    keyboard us
    text
    network --device eth0 --bootproto dhcp
    rootpw xxxxx
    firewall --disabled
    authconfig --enableshadow --enablemd5
    selinux --disabled
    services --disabled acpid,anacron,apmd,atd,auditd,autofs,avahi-daemon,bluetooth,cups,firstboot,hidd,ip6tables,lvm2-monitor,mcstrans,mdmonitor,microcode_ctl,netfs,nfslock,pcscd,portmap,rawdevices,readahead_early,restorecond,rpcgssd,rpcidmapd,sendmail,setroubleshoot,xfs,xinetd,yum-updatesd
    services --enabled cpuspeed,crond,gpm,haldaemon,irqbalance,kudzu,messagebus,network,smartd,sshd,syslog
    timezone --utc Asia/Shanghai
    bootloader --location=partition --driveorder=sda
    # The following is the partition information you requested
    # Note that any partitions you deleted are not expressed
    # here so unless you clear all partitions first, this is
    # not guaranteed to work
    clearpart --all --drives=sda
    part swap --size=4096
    part / --fstype ext3 --size=30000
    part /usr/local --fstype ext3 --size=50000
    part /home --fstype ext3 --size=1 --grow

    %packages
    @admin-tools
    @base
    @core
    @development-libs
    @development-tools
    @editors
    @emacs
    keyutils
    kexec-tools
    trousers
    fipscheck
    device-mapper-multipath
    imake
    audit

    ----------当你发现自己的才华撑不起野心时,就请安静下来学习吧---------
  • 相关阅读:
    SQL
    第九章
    第三章 表单
    第二章 表格,列表,媒体元素
    HTML5基础
    Java第一本书总复习
    字符串
    人机猜拳
    类的无参方法
    类和对象
  • 原文地址:https://www.cnblogs.com/Qing-840/p/5501437.html
Copyright © 2011-2022 走看看