อีกครั้ง เราจะพูดถึง Kiwi Kiwi เป็น Imaging System ส่วนหนึ่งของ openSUSE Build Service ที่ใหญ่กว่า complex omnipotent imaging/virtualization solution ที่允许 你 创建 any which kind 那些 operating system images fully customizable 和 deployable 在 vast range 那些 formats 基于 你 自己 的 installation vanilla openSUSE 或 any 其他 Linux distribution
Kiwi 可以 achieve 这些 tasks 使用 XML templates 因为 它 geared toward power users 谁 喜欢 automation 和 scripting 然而 Kiwi 也 supports work 通过 means 那些 much simpler much friendlier GUI frontends 叫 Image Creator 和 Product Creator

Introduction
一些 时间 前 我们 有 tutorial 在 Kiwi 那里 我们 学习 如何 使用 former utility 我们 使用 它 创建 一个 VMDK virtual machine 基于 default openSUSE build 和 then tested 我们 的 product 在 VMware Server 同样 我们 可以 有 created live CD/DVDs thin installs Xen machines 或 甚至 Amazon EC2 images 一些 我们 做 长 方式 手动 一会 后 - 和 那些 我们 也 学习 如何 做 使用 Kiwi 在 一个 separate tutorial
我们 没有 dabble 在 converting 我们 自己 的 installation 进入 one 那些 custom redistributable images 如承诺 我们 将 做 那 今天 - 使用 Product Creator
Product Creator 允许 你 转换 你 的 自己 的 physical installations 进入 new deployable builds 这 similar 到 什么 VMware Converter 可以 做 有 additional features 更细 tweakability 和 total control 个别 packages 那 你 想 包括
像 Image Creator Product Creator 是 GUI wizard friendly simple 和 powerful 所以 跟随 我 和 enjoy 另一个 virtualization mega-hack
Installing Product Creator
这 是 一个 非常 simple affair 打开 YaST 和 search for product-creator package 安装 它 在 package 安装 后 Product Creator 将 show 在 YaST 下 Miscellaneous 旁边 Image Creator
Creating image
现在 来 fun part 当 你 fire up Product Creator 它 将 问 你 无论 你 想 使用 auto-configured YaST Control File - 你 可以 创建 那些 在 安装 - 或 Package Manager 我们 将 去 第一个 选项

Choose repositories
你 的 下一步 是 选择 repositories 你 想 configure 在 image 你 将 有 到 manually highlight 每一个 和 select 它 这 有点 tedious 但 你 可以 get it sorted out 在 几 分钟 后来 你 可以 使用 existing configurations 或 templates 从 command line

Architecture
你 可以 改变 Target architecture 如果 你 喜欢 但 你 需要 注意 一些 repositories 不 support 每一个 available architecture 这 特别 true 为 i386 i586 和 i686 所有那些 define 32-bit architecture 有 some differences

事实上 你 将 被 warned 如果 你 选择 wrong selection
Base source
你 将 现在 有 到 select 一个 repository 在 几个 choices 你 有 marked earlier 那 包含 basic boot files 没有 那些 system 不能 被 created
Output name and type
你 的 下一步 是 选择 output format 最好 idea 是 创建 bootable ISO image 但 你 也 可以 leave 文件 和 directory structure 在 它 的 expanded form 选择 是 你 的 同样 你 将 有 到 choose destination path 如果 你 short 于 free space 你 可以 check box titled Copy only needed files 以 save space

在那之后 你 可能 optionally load 一个 configuration file 那 specifies additional parameters 有 哪 ISO file 将 generated 如果 你 使用 wizard 第一次 或 不确定 关于 这步 简单 move forward

Choose software
现在 来 best part - 选择 ingredients 和 baking cake 这里 你 有 complete freedom 在 choosing 什么 bits get installed 当然 更多 你 选择 更大 final result

Digital signature
你 也 可以 optionally digitally sign 你 的 image 这 可以 特别 useful 在 business environments 在 home 你 可能 不 需要 bother

Review options
最后 review 你 的 choices 和 click Finish

Overview
你 的 image configuration 准备 现在 你 可以 build 它 或 edit settings 如果 你 click Close 没有 东西 会 happen 你 的 configuration 将 saved 直到 later time 当 你 actually 想 create image 这 是 done 通过 clicking Create Product Add Edit 和 Delete buttons 允许 你 创建 additional profiles 提供 你 lots of flexibility 在 你 的 games 有 image building 和 packaging

最 interesting part 这个 menu 是 Create Image with KIWI ... button 如果 你 click 在 little arrow 在 right side 你 将 expand a drop-down menu 有 additional build options
和 我们 回到 Kiwi 有 powerful settings 和 multiple formats 你 可以 选择 在 live ISO USB Stick Xen machine 和 Virtual Disk (VMDK/QEMU) images

Creating image
一旦 你 click right button image 将 be built 和 verified
Test image
最后 步骤 是 burn ISO 和 test 它 在 a real machine 和 那里 你 去! 现在 你 可能 发现 难 相信 那 actual screenshots 下面 来自 我 自己 的 build 而不是 standard openSUSE 11 installation 但 你 将 有 到 取 我 的 word 为 它
Perks
一个 我 的 readers 有 问 我 关于 Kiwi's ability 创建 Amazon EC2 machines 如 我 提到 这 在 several articles 好 Kiwi 可以 做 这 甚至 有 sample configuration file included 在 /usr/share
结论
Working 有 Product Creator 是 as easy 和 fun 如 working 有 Image Creator 有 similar 那些 similarly impressive results 你 不 需要 有 any advanced knowledge 那些 system internals 来 build 你 的 自己 的 custom images
Kiwi 和 Image Creator 和 Product Creator frontends 形成 一个 powerful multipurpose suite 那 让 你 fine tune 你 的 installations 到 maximum 你 现在 有 ability 部署 你 的 systems 在 five-six 不同 formats add/remove packages 和 repositories 选择 image size 转换 images 选择 desktop environment 和 更多 Kiwi 提供 total freedom 使用 你 的 imagination 和 creativity 产生 beautiful solutions
今天 你 有 学习 如何 使用 second half 的 Kiwi system 创建 images 从 existing installation 这 tutorial complements 第一部分 创建 images 基于 external repositories
在 follow up articles 我们 将 focus 在 Build Service 和 SUSE Studio
Cheers.