Deep dive-oz

7

Click here to load reader

Transcript of Deep dive-oz

Page 1: Deep dive-oz

Deep dive Oz

适兕2013.9.16

Page 2: Deep dive-oz

议程

● What is Oz?● Some features list● How it works?● Demo(Fedora + windows)● Q&A

Page 3: Deep dive-oz

Oz introduction

● Oz is a set of classes and scripts to do automated installations of various guest operating systems to VM.

● Oz is a command-line tool that automates the process of creating a virtual machine image file. Oz is a Python app that interacts with KVM to step through the process of installing a virtual machine. It uses a predefined set of kickstart (RedHat-based systems) and preseed files (Debian-based systems) for operating systems that it supports, and it call also be using to create Microsoft Windows images.

Page 4: Deep dive-oz

Feature list

● oz.GuestFactory.distrolist()● Imagefactory's backend● TDL defined JeOS● Custorm Libvirt xml file

Page 5: Deep dive-oz

How it works?

Page 6: Deep dive-oz

Demo

● /etc/oz/oz.cfg● Template reference● Make srpm &&rpmbuild -ba &&yum

localinstall● Oz-install -d4 windows.tdl● Have fun!