Author: jfthomps
Date: Fri Sep 30 19:28:46 2011
New Revision: 1177791
URL: http://svn.apache.org/viewvc?rev=1177791&view=rev
Log:
VCL-433
new revisions can be captured of kickstart images
images.php - modified startImage - set $disableUpdate = 1 if image's
installtype is none or kickstart
Modified:
incubator/vcl/trunk/web/.ht-inc/images.php
Modified: incubator/vcl/trunk/web/.ht-inc/images.php
URL:
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/images.php?rev=1177791&r1=1177790&r2=1177791&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/images.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/images.php Fri Sep 30 19:28:46 2011
@@ -706,6 +706,9 @@ function startImage() {
$imageData = getImages(0, $imageid);
if($imageData[$imageid]['ownerid'] == $user['id'])
$disableUpdate = 0;
+ if($imageData[$imageid]['installtype'] == 'none' ||
+ $imageData[$imageid]['installtype'] == 'kickstart')
+ $disableUpdate = 1;
}
print "<H2>Create / Update an Image</H2>\n";
print "Are you creating a new image from a base image or updating an ";