Through the packaging and improvement of a variety of open source projects/tools, and the addition of some functions, to achieve a variety of common image custom packaging automation, simplify the use and operation steps, improve efficiency and correct rate, for Anolis and KOS users to provide common image types of production, packaging tools.
Supported image types: ISO, liveISO, qcow2, container, initrd can be used as ramfs.
ISO | liveISO | initrd | qcow2 | docker
------------------------------------------------
pungi | lorax | anaconda | Self developed code
------------------------------------------------
KOS yum repo | Anolis yum repo
sh create-qcow2.sh
sh create docker.sh
To create a base image and add two software packages, vim enhanced and dhcp server, you can use the following command:
sh create docker sh - p vim enhanced - p dhcp server
To create a base image and add group: file server, as well as Python 36 and Python 38, you can use the following command:
sh create docker.sh - g file server - g python36- g python38
ADD_ PACKAGES can add RPM packages installed in Squashfs.img of live ISO ADD_ GROUPS can increase the RPM group installed in Squashfs.img of live ISO ADD_ FILES can add the specified file/folder to the specified location in Squashfs.img of live ISO, Location can be achieved through ADD_ FILES_ TARGET settings
Finally, execute
sh create-liveiso.sh
Configure modifiable parameters in create-initrd-ramos-from-cur-os.conf: ADD_ DRIVERS can add kernel modules installed in initrd OMIT_ DRIVERS can exclude certain kernel modules from initrd INSTALL_ PROG can add user mode command tools installed in initrd INCLUDE_ FILE_ DIRECTORY * can add specified files/folders to initrd
Finally, execute
sh create-initrd-ramos-from-cur-os.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。