Image-Builder 介绍
目标:
-
可以很容易地创建 EC2 风格的镜像 (root, kernel, ramdisk like)
-
保持它小、 灵活、 理智、 清洁
代码示例:
$ cat build.yaml --- # Which modules should be ran (in order) modules: - install-rpms - add_user # Enable this if you wish to install # any users info into the image (ie for testing). add_users: - harlowja ...