<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
HI All<br><br>First of All i notice that <b>"Add Graphics"</b> option that are link to VNC does not available with VMWARE Wizard under Templates option. <br><br>Second, When i tried to implement HOOKS with VMWARE Hypervisor, it struck while deployment. The following are the configuration <br><br><b>oned.conf</b><br>------------------------------------------------------------------------------------------<br>VM_HOOK = [<br>    name      = "image",<br>    on        = "RUNNING",<br>    command   = "/var/lib/one/hooks/email_trigger.sh",<br>    arguments = "$VMID " "$NAME" "$VCPU" "$MEMORY" ]<br>---------------------------------------------------------------------------------------<br><b>email_trigger.sh</b><br>--------------------------------------------------------------------------------------------<br>#!/bin/bash<br>echo "New VM is created with the following attributes:" >> /var/lib/one/hooks/test.txt<br>echo "VM ID: " $1 >> /var/lib/one/hooks/test.txt<br>echo "VM Name: " $2 >> /var/lib/one/hooks/test.txt<br>echo "Number of CPU(s): " $3 >> /var/lib/one/hooks/test.txt<br>echo "Memory: " $4 >> /var/lib/one/hooks/test.txt<br><br>cat /var/lib/one/hooks/test.txt | mail -s "New VM Created" <email ID><br><br>mv /var/lib/one/hooks/test.txt /var/lib/one/hooks/test.txt_VMID_$1<br><br>----------------------------------------------------------------------------------------------------------<br><br><b>VM.log</b><br>---------------------------------------------------------------------------------------------------------------------<br> tail -f /var/lib/one/var/23/vm.log<br>Wed Oct 19 13:10:00 2011 [TM][D]: tm_clone.sh: DST: /var/lib/one/var/images/23/images/disk.0<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/var/images/23/images<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/var/images/23/images".<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/var/images/23/images".<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Cloning /var/lib/one/var/images/1f4ea25cc8404c2aed5c7ad3c09debba/images<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Executed "cp -r /var/lib/one/var/images/1f4ea25cc8404c2aed5c7ad3c09debba /var/lib/one/var/images/23/images/disk.0".<br>Wed Oct 19 13:10:00 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/var/images/23/images/disk.0".<br>Wed Oct 19 13:10:00 2011 [TM][I]: ExitCode: 0<br>Wed Oct 19 13:10:00 2011 [LCM][I]: New VM state is BOOT<br>Wed Oct 19 13:10:00 2011 [VMM][I]: Generating deployment file: /var/lib/one/var/23/deployment.0<br><br>-------------------------------------------------------------------------------------------------------------------------------------------<br><br>                                          </div></body>
</html>