小编Nat*_*Coy的帖子

CentOS 上的 Kickstart 中 %pre 和 %post 之间的差异?

我一直在 CentOS 上使用 Kickstart 设置机器,但我不确定kickstart文件的%pre%post部分之间的区别.cfg

预安装脚本的 CentOS 文档指出:

You can add commands to run on the system immediately after the ks.cfg has been parsed.
Run Code Online (Sandbox Code Playgroud)

虽然安装后脚本的部分指出:

You have the option of adding commands to run on the system once the installation is complete. 
Run Code Online (Sandbox Code Playgroud)

在阅读了这个问题之后,我注意到该%pre部分似乎无法以某种方式访问​​文件系统。

我的问题是:

  • CentOS 中的 kickstart 脚本%pre%post部分有什么区别?
  • %pre部分是否与 kickstart 脚本同时运行(解析后)?
  • %pre在 kickstart 脚本部分是否有可用的持久存储?

scripting centos kickstart

6
推荐指数
1
解决办法
8273
查看次数

标签 统计

centos ×1

kickstart ×1

scripting ×1