最近我正在学习如何使用 autoyast 通过网络和 pxe 无人值守地安装 SUSE。我的目标是——
- 使用 pxe 无人值守安装 Suse12.4 - 我已经使用 autoyast.xml 和 pxe 成功安装
- 安装不仅只安装 Suse,还需要安装一些外部包——例如。rlwrap 和 puppet 客户端...按照第 4.9.2 节中的https://documentation.suse.com/sles/12-SP4/html/SLES-all/configuration.html#CreateProfile-Software中的步骤进行操作所以我做了仅使用 rlwrap 包进行测试,这是我的步骤-
- 由于我的存储库是http://192.168.95.77/12.4,所以我将 rlwrap-0.43-lp152.3.8.x86_64.rpm 复制到http://192.168.95.77/12.4/suse/x86_64并确保它可以从 http 获得。
- 然后我修改了我的 autoyast.xml 在文件末尾添加了这个——
**
<add-on>
<add_on_products config:type="list">
<listentry>
<media_url>http://192.168.95.77/12.4/suse/x86_64/rlwrap-0.43-lp152.3.8.x86_64.rpm</media_url>
<product>rlwrap</product>
<alias>rlwrap</alias>
<product_dir></product_dir>
<priority config:type="integer">99</priority>
<ask_on_error config:type="boolean">false</ask_on_error>
<confirm_license config:type="boolean">false</confirm_license>
<name>eisen-repo-12.4</name>
</listentry>
</add_on_products>
</add-on>
**
然后我用一个新的VM测试,--然后我发现这个VM再次成功安装了Suse12.4,但是没有安装那个rlwrap包并且安装时没有发现错误消息。我不知道我错在哪里。请纠正我。提前感谢您的帮助。
问候艾森