From afc24b88a1004e1015b2699495373561527e16d6 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Fri, 26 Jun 2015 12:43:14 +0200 Subject: [PATCH] Smartfire: updated several templates --- portal/static/js/experiment.js | 4 ++-- .../smartfire/smartfire_email_default_recipients.txt | 1 + portal/templates/smartfire/smartfire_email_default_sender.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 portal/templates/smartfire/smartfire_email_default_recipients.txt create mode 100644 portal/templates/smartfire/smartfire_email_default_sender.txt diff --git a/portal/static/js/experiment.js b/portal/static/js/experiment.js index 0bf94a61..3bddd235 100644 --- a/portal/static/js/experiment.js +++ b/portal/static/js/experiment.js @@ -44,8 +44,8 @@ function render_node(platform, node){ newElement = document.createElement('p'); var commands = "$ omf stat -t "+node['@component_name']+" # check the status of the node
"; commands += "$ omf tell -a on -t "+node['@component_name']+" # turn on the node
"; - commands += "$ omf load -i baseline_grid.nzb -t "+node['@component_name']+" # loading OMF image on the node
"; - commands += "$ omf root@"+node['@component_name']+" # ssh to the node"; + commands += "$ omf load -i baseline.ndz -t "+node['@component_name']+" # loading OMF image on the node
"; + commands += "$ ssh root@"+node['@component_name']+" # ssh to the node"; newElement.innerHTML = "

"+commands+"

"; elm.appendChild(newElement); diff --git a/portal/templates/smartfire/smartfire_email_default_recipients.txt b/portal/templates/smartfire/smartfire_email_default_recipients.txt new file mode 100644 index 00000000..f122fa22 --- /dev/null +++ b/portal/templates/smartfire/smartfire_email_default_recipients.txt @@ -0,0 +1 @@ +SmartFIRE Support diff --git a/portal/templates/smartfire/smartfire_email_default_sender.txt b/portal/templates/smartfire/smartfire_email_default_sender.txt new file mode 100644 index 00000000..f122fa22 --- /dev/null +++ b/portal/templates/smartfire/smartfire_email_default_sender.txt @@ -0,0 +1 @@ +SmartFIRE Support -- 2.43.0