Bug 719972

Summary: DOCS - need some doc around the oz tdl for creating custom templates
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: DocumentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: deltacloud-maint, dmacpher, jskeoch, lbrindle, morazi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-07 06:15:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 709348    

Description wes hayutin 2011-07-08 15:00:36 UTC
Description of problem:

git clone git://github.com/clalancette/oz.git

/oz/docs/tdl.rng


For the beta release we need some sort of documentation on the website for oz regarding the various important elements and parameters.

Thanks!

Comment 1 wes hayutin 2011-09-28 16:36:58 UTC
making sure all the bugs are at the right version for future queries

Comment 3 Dan Macpherson 2012-01-12 04:46:48 UTC
Documentation for TDL currently exists externally:
https://s3.amazonaws.com/loranz-rh/AeolusDocumentation/TDL.html

Probably a good idea to port this documentation to the aeolus website.

Comment 5 wes hayutin 2012-01-12 14:31:54 UTC
The most important doc to include is this..

https://www.aeolusproject.org/redmine/projects/image-factory/wiki/Documentation


<template>
  <name>f13-samepletdl</name>
  <description>Fedora 13 32 bit - Example Template</description>
  <os>
    <name>Fedora</name>
    <version>13</version>
    <arch>i386</arch>
    <install type='url'>
      <url>http://fedora-mirror-site.com/install_trees/fedora/F-13/GOLD/Fedora/i386/os/</url>
    </install>
    <rootpw>changeme</rootpw>
  </os>

  <repositories>
    <repository name='signed-custom-repo'>
      <url>http://custom-package-site.redhat.com/repos/unsigned_custom_repo/</url>
      <signed>True</signed>
    </repository>
    <repository name='unsigned-custom-repo'>
      <url>http://custom-rpackage-site2.redhat.com/repos/signed_custom_repo/</url>
      <signed>False</signed>
    </repository>
  </repositories>

  <packages>
    <package name='kernel-PAE'/>
    <package name='euca2ools'/>
    <package name='imgfacsnapinit'/>
  </packages>

  <files>
    <file name='/etc/rock.it'>
This is a custom configuration file.
    </file>
    <file name='/tmp/binary_file' type='base64'>
VGhpcyBpcyBhbiBlbmNvZGVkIGZpbGUK
    </file>
  </files>
  <commands>
    <command name="test">
echo "hello" > /var/lib/foo.bar
    </command>
  </commands>

</template>

Comment 6 wes hayutin 2012-01-12 14:37:45 UTC
However we need to make sure doc the diff between a
Fedora TDL 
RHEL 6 TDL 
RHEL 5 TDL

notice the diff in <version> .. this is critical.. should be a *TIP*

  <name>audrey-client-fedora-rhevm</name>
  <os>
    <name>Fedora</name>
    <version>15</version>
    <arch>x86_64</arch>



  <name>RHEL6-1-Basic</name>
  <os>    
    <name>RHEL-6</name>    
    <version>1</version>
    <arch>x86_64</arch>


  <name>RHEL5-Basic</name>
  <os>    
    <name>RHEL-5</name>    
    <version>U7</version>
    <arch>x86_64</arch>

Comment 10 Lana Brindley 2012-06-07 06:15:29 UTC
Document is now available on docs.redhat.com. Please raise a new bug for any further issues.

LKB