• CentOS6.6 kickstart文件


    # Kickstart file automatically generated by anaconda.

    #version=DEVEL
    install
    #cdrom
    url --url http://192.168.0.81/centos6.6-image/
    lang en_US.UTF-8
    keyboard us
    network --onboot no --device eth0 --bootproto dhcp --noipv6
    network --onboot no --device eth1 --bootproto dhcp --noipv6
    network --onboot no --device eth2 --bootproto dhcp --noipv6
    network --onboot no --device eth3 --bootproto dhcp --noipv6
    rootpw --iscrypted $6$wpezh07O0uHE179V$0UthfSfNzbb1HF/N3a7mQoD.wFDgF3MPaGOyvNcnIAxdT4U02BOkdY0j2TIz7kopPSXyTG1iFzwtvsiLRKSCw0
    firewall --disabled
    authconfig --enableshadow --passalgo=sha512
    selinux --disabled
    timezone Asia/Shanghai
    bootloader --location=mbr --driveorder=sda,sdb,sdc --append="crashkernel=auto rhgb quiet"
    reboot

    clearpart --all --initlabel
    zerombr
    part swap --size=100000 --ondisk=sda
    part /boot --fstype=ext4 --size=100 --ondisk=sda
    part / --fstype=ext4 --size=500000 --ondisk=sda

    part /mnt/disk1 --fstype=ext4 --size=1000000 --ondisk=sdb
    part /mnt/disk2 --fstype=ext4 --size=1000000 --ondisk=sdc


    repo --name="CentOS6.6" --baseurl=http://192.168.0.81/centos6.6-repo/ --cost=100

    %packages
    @base
    @core
    @debugging
    @basic-desktop
    @desktop-debugging
    @desktop-platform
    @directory-client
    @fonts
    @general-desktop
    @graphical-admin-tools
    @input-methods
    @internet-applications
    @internet-browser
    @java-platform
    @legacy-x
    @network-file-system-client
    @office-suite
    @print-client
    @remote-desktop-clients
    @server-platform
    @server-policy
    @x11
    mtools
    pax
    oddjob
    wodim
    sgpio
    genisoimage
    device-mapper-persistent-data
    abrt-gui
    samba-winbind
    certmonger
    pam_krb5
    krb5-workstation
    gnome-pilot
    libXmu
    %end

  • 相关阅读:
    mysql 表的类型
    【Mysql优化】key和index区别
    [置顶] 步步辨析JS中的对象成员
    [置顶] C语言单元测试框架
    代码规范总结
    AFNetworking、MKNetworkKit和ASIHTTPRequest对比
    在SQL中使用PL/SQL函数存在的问题
    C++中一个函数隐藏的有趣例子
    深入浅出Mybatis-分页
    SRM 207 Div II Level Two: RegularSeason,字符串操作(sstream),多关键字排序(操作符重载)
  • 原文地址:https://www.cnblogs.com/littlesuccess/p/5110718.html
Copyright © 2020-2023  润新知