From 8e88a4295f1659af2253002b060c249538d7dc31 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Fri, 15 Feb 2013 23:11:27 +0530 Subject: [PATCH] Reset a VM on reboot compute offering --- ui/scripts/configuration.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index c85a98acf9e..1e44ecfd688 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -136,6 +136,14 @@ isChecked: true, docID: 'helpComputeOfferingPublic' }, + + isVolatile:{ + label:'isVolatile', + isBoolean:true, + isChecked:false + + }, + domainId: { label: 'label.domain', docID: 'helpComputeOfferingDomain', @@ -196,6 +204,10 @@ $.extend(data, { limitcpuuse: (args.data.cpuCap == "on") }); + + $.extend(data, { + isvolatile: (args.data.isVolatile == "on") + }); if(args.$form.find('.form-item[rel=domainId]').css("display") != "none") { $.extend(data, {