简体   繁体   English

用打包程序创建iso ubuntu映像系统文件(中间配置几个)

[英]create a iso ubuntu image system file with packer (with intermediate few provisionning)

I work with packer for generate a vagrant box. 我与打包机一起产生一个无用的盒子。 But lot of error and change in provisionners script happend. 但是,发生了许多错误,并且预配员脚本发生了更改。

And it's very very too long to restart again all the construct base image linux for provisionning after just for testing one thing in my provisionning script. 仅在测试我的预配置脚本中的一件事之后,再次重新启动所有用于构建预配置的基本映像linux的时间就太长了。

Is there a solution for creating iso file which can re use of base for packer previously created by packer itself ? 是否有一种创建iso文件的解决方案,该解决方案可以重新使用打包程序本身以前创建的打包程序的基础?

Upgrade iso provisionning by each step done in my provisionning script shell. 按照我的资源调配脚本shell中完成的每个步骤升级iso资源调配。

No there is no strait forward way of creating an iso from a vagrant box. 没有,没有从流浪者盒子创建iso的僵化方式。

What you probably should do is improve your workflow. 您可能应该做的是改善工作流程。 Try -on-error=ask and the debug builder to iron out your provisioner scripts. 尝试使用-on-error=askdebug构建器来淘汰您的配置程序脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM