zoukankan      html  css  js  c++  java
  • linux(centos 7)学习之 ~目录下的文件anaconda-ks.cfg

    这个文件是记录安装系统的一些信息

    #version=DEVEL
    # System authorization information
    auth --enableshadow --passalgo=sha512
    # Use CDROM installation media
    cdrom安装方式
    # Use graphical install
    graphical 图形界面安装方式
    # Run the Setup Agent on first boot
    firstboot --enable 
    ignoredisk --only-use=sda
    # Keyboard layouts
    keyboard --vckeymap=us --xlayouts='us'
    # System language
    lang en_US.UTF-8
    
    # Network information
    network --bootproto=dhcp --device=ens33 --onboot=off --ipv6=auto --no-activate
    network --hostname=localhost.localdomain
    
    # Root password
    rootpw --iscrypted $6$o7f7kzfF9fJb41gH$salsjaksajsdssasnlakkjshbaxdhS2ijCjSaPiP2Cs9ao.vxIOpDJmVduhGdOQRL.Sjpx0pbipx0thqhQw1
    # System services
    services --enabled="chronyd"
    # System timezone
    timezone America/New_York --isUtc
    user --name=scc --password=$6$SRO3wJtVGdaasjaksanMla67P3VC3WM.DQ3/Y/iPT3cqtRKeF9VGObhQ1zDUdwpzJ7YJ1 --iscrypted --gecos="scc"
    # X Window System configuration information
    xconfig --startxonboot
    # System bootloader configuration 系统启动加载配置
    bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
    autopart --type=lvm
    # Partition clearing information
    clearpart --none --initlabel
    
    %packages  安装时候选择安装的一些包
    @^gnome-desktop-environment
    @base
    @core
    @desktop-debugging
    @dial-up
    @directory-client
    @fonts
    @gnome-desktop
    @guest-agents
    @guest-desktop-agents
    @input-methods
    @internet-browser
    @java-platform
    @multimedia
    @network-file-system-client
    @networkmanager-submodules
    @print-client
    @x11
    chrony
    kexec-tools
    
    %end
    
    %addon com_redhat_kdump --enable --reserve-mb='auto'
    
    %end
    
    %anaconda
    pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
    pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
    pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
    %end
  • 相关阅读:
    获取连接无线路由客户机信息命令
    HTB进行流量控制方法
    exec函数族用法
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    struts2从请求取值的三种方式
    用jsp写的网页 怎么在传递参数时包含中文?
    Struts2使用DoubleSelect实现二级级联下拉框省份城市
    MySQL里主键与外键的关系
    查看struts2源码
    WIN7系统下,用笔记本发送WIFI信号让手机无线上网!
  • 原文地址:https://www.cnblogs.com/simuhunluo/p/7707491.html
Copyright © 2011-2022 走看看