{% extends "admin/firmware/base_build.html" %} {% load code staticfiles %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %} {{ block.super }}

Instructions

Upload the firmware image

The firmware can be dowloaded from this page into your computer. Then upload the firmware to the node, for instance by using scp to copy the image into the node's temporary directory:

{% code 'bash' %}scp {{ build.image_name }} root@[{{ node.mgmt_net.addr }}]:/tmp{% endcode %}

Install the firmware image

You can use ssh to access the node and enter its temporary directory:

{% code 'bash' %}ssh root@{{ node.mgmt_net.addr }} cd /tmp{% endcode %}

The following command can be used for flashing this image (remember to change the destination device).
WARNING! Be sure you execute these commands INSIDE the node, not in your own computer!

  1. If the current operating system of the node is not CONFINE execute: {% code 'bash' %}gunzip {{ build.image_name }} -c | dd of=/dev/sdX bs=1M; sync{% endcode %}
  2. If the current operating system running in the node is CONFINE execute: {% code 'bash' %}# This command will upgrade your node: confine.sysupgrade -n {{ build.image_name }}{% endcode %}

The CONFINE wiki contains more information on node upgrade.

{% endblock %}