1
root01 2022 年 2 月 23 日
插眼,一直不知道怎么封装 linux 系统的我很好奇
|
2
Kevinyy 2022 年 2 月 23 日
插眼,正好有需求
|
3
yaott2020 2022 年 2 月 23 日 via Android
我也好奇
|
4
undeflife 2022 年 2 月 23 日
|
5
perfectar 2022 年 2 月 23 日
马克,同样有需求!
|
6
DUDUHA 2022 年 2 月 23 日
|
7
advancejar 2022 年 2 月 23 日
docker
|
8
bfdh 2022 年 2 月 23 日
I don't think that the system should be packaged after installed and configured, but configure it while installing.
|
9
CallMeReznov 2022 年 2 月 23 日
只通过挂载 IMG 的方式修改过 PASSWD 和插入过启动脚本,其他暂时还没接触过.
|
10
llwy1412b 2022 年 2 月 23 日
在工作中遇到过类似的问题。
当时我的解决办法是使用 Clonezilla 进行全盘备份,然后恢复到目标机器。 具体操作见: http://iqotom.com/?p=582 不过当时我这一批服务器配置是完全一致的,没有遇到问题。 如果 lz 的分发目标配置不相同,可能会遇到各种驱动、分区大小一类的问题吧。 |
11
soulzz 2022 年 2 月 23 日
可能你需要类似 qemu dump 镜像一类的操作?
|
12
cheng6563 2022 年 2 月 23 日
清理下然后直接 tar 打包 root 吧。
|
13
Wincer 2022 年 2 月 23 日 楼上全错,正确的方式应该是使用 kickstart ,我们目前使用的是这种方式来定制 centos 镜像,搜了一下 ubuntu 也是支持的: https://help.ubuntu.com/community/KickstartCompatibility
|
14
ClarkAbe 2022 年 2 月 23 日
tar -cjf /xxx/xxx.tar.bz2 /mnt
反正我的 Arch 每次都是这样打包的.... 要安装只需要先反向压缩 vcjf (其实就是解压) 然后 bootctl install 然后 genfstab 改下 loader 里面的启动磁盘 uuid 就行 |
16
yEhwG10ZJa83067x 2022 年 2 月 23 日
vagrant 打包成 box ?
|
17
zmh69695328 2022 年 2 月 23 日
同需要一个 ubuntu everything 的镜像
|
18
msg7086 2022 年 2 月 23 日
tar 打包就行了吧。我司以前部署机器就这么玩的,tar 解压出来 rsync 到磁盘上,然后 chroot 进去做一下引导就能用了。
|
19
kimown 2022 年 2 月 23 日 via Android
这不是 iso 文件安装,安装软件后,重新打包为 iso
|
20
Macv1994 2022 年 2 月 23 日
搜一下 live build
|
21
Macv1994 2022 年 2 月 23 日
看错了... live build 好像不行
|
22
JLX 2022 年 2 月 23 日
插眼,学习一下
|
23
masterclock 2022 年 2 月 23 日
|
24
hxsf 2022 年 2 月 23 日 via iPhone
cloud-init ?
|
25
xuboying 2022 年 2 月 23 日
如果只要发布 cloud 版本的话,在虚拟机里安装,各种配置弄好,最后装好 cloud-init 组件以后关机,把磁盘镜像转成 qcow2 交给下游就行了。
没有必要的话不需要转成 ISO 格式 |
26
yousabuk 2022 年 2 月 23 日 via iPhone
需要需要
|
27
duke807 2022 年 2 月 23 日 via Android
並不是所有系統都要用 iso 安裝的
譬如 gentoo 系的安裝原本就是一個 tar 包 |
28
q9OxQgg 2022 年 2 月 23 日 via Android
DD 或者 DD 成 img 可以吗?
|
29
exiledkingcc 2022 年 2 月 23 日 |
30
xiaoz 2022 年 2 月 23 日 via Android
要是用 docker 制作成镜像就省事多了。
|
31
wdssmq 2022 年 2 月 24 日
话说 WSL2 配置好后如何备份或复制到其他电脑上?
|
32
qq296015668 2022 年 2 月 27 日 @wdssmq
``` wsl --export wsl --import ``` https://docs.microsoft.com/zh-cn/windows/wsl/use-custom-distro |
33
webshe11 2022 年 3 月 31 日 via Android
只考虑虚拟机的话,导出 .ova 文件就完事了
|
34
gxgxxn 2022 年 4 月 21 日
@exiledkingcc cubic 好用
|