我想安装一个具有以下属性的高山安装:
我探索了很多选择:阿尔卑斯-linux-iso-maker,Cobbler,Chef等.唯一接近完成这一目标的是/sbin/setup-*使用应答文件的脚本。
是否有一种标准的方法可以将应答文件和依赖关系烘焙到高寒linux iso中?
发布于 2019-08-20 14:48:33
usage: setup-alpine [-ahq] [-c FILE | -f FILE]
Setup Alpine Linux
options:
-a Create Alpine Linux overlay file
-c Create answer file (do not install anything)
-e Empty root password
-f Answer file to use installation
-h Show this help
-q Quick mode. Ask fewer questions.
因此,您可以创建一个应答文件与您的首选设置。
aports
:https://gitlab.alpinelinux.org/alpine/aports/tree/master/scripts附带的脚本--关于如何为高山创建自定义iso的很好的教程可以在这里找到:https://wiki.alpinelinux.org/wiki/How_至_制作_一个_自定义_ISO_图像_使用_mkimagesetup-alpine -c
和setup-alpine -f
的n.1点/etc/local.d
放入其中,但是在初始设置之后,您应该从自动启动(使用rc-update del local
)中删除。这类脚本的一个很好的例子可以在这里找到:https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimghttps://unix.stackexchange.com/questions/511699
复制相似问题