文件操作 - anaconda-ks.cfg
返回文件管理
返回主菜单
删除本文件
文件: /root/anaconda-ks.cfg
编辑文件内容
#version=RHEL7 # Use network installation url --url="http://62.149.128.50/centos/7/os/x86_64" # License agreement eula --agreed # Use graphical install graphical # Firewall configuration firewall --disabled firstboot --disable ignoredisk --only-use=sda # Keyboard layouts # old format: keyboard it # new format: keyboard --vckeymap=it --xlayouts='it' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=em1 --ipv6=auto --activate network --bootproto=dhcp --device=em2 --onboot=off --ipv6=auto network --bootproto=dhcp --device=em3 --onboot=off --ipv6=auto network --bootproto=dhcp --device=em4 --onboot=off --ipv6=auto network --hostname=winxpe # Root password rootpw --iscrypted $6$9cTJVJcrpicl4OjX$w8G9xsZK3SgLY0g9LBLuSiMC5JYJ1ZBoy8M3Vy1XCzWOAGt/jLNephhLVjbdkoyBaadcD0im/sxGVbEAKTQqK. # SELinux configuration selinux --disabled # System services services --enabled="chronyd" # System timezone timezone Europe/Rome --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda autopart --type=lvm # Partition clearing information clearpart --none --initlabel %packages @base @core @performance @perl-web @php @web-server chrony kexec-tools %end %addon com_redhat_kdump --enable --reserve-mb='auto' %end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件