2020-11-11 11:47:10 +01:00
---
title: Pre-installed images
template: docs
taxonomy:
category: docs
2021-02-06 18:22:00 +01:00
routes:
default: '/images'
2020-11-11 11:47:10 +01:00
---
2018-05-08 23:50:06 +02:00
2018-11-26 19:26:20 +01:00
< span class = "javascriptDisclaimer" >
This page requires Javascript enabled to display properly :s.
< br / >
< br / >
< / span >
2021-12-20 19:33:51 +01:00
!!! Even if the image does not corresponds to the latest version of YunoHost, you can still use it and do a regular system upgrade after setting up!
! Current images are from Debian Buster (YunoHost v4.x) and will require that you perform a manual `apt update` command in SSH or CLI to continue updating.
! Answer Yes to the warning about switching from `stable` to `oldstable` .
2019-07-09 12:14:28 +02:00
2021-02-07 21:43:06 +01:00
< div class = "hardware-image" >
2018-05-08 23:50:06 +02:00
< div id = "cards-list" >
< / div >
2021-02-07 21:43:06 +01:00
< / div >
2018-05-08 23:50:06 +02:00
< script type = "text/template" id = "image-template" >
< div id = "{id}" class = "card panel panel-default" >
< div class = "panel-body text-center" >
< h3 > {name}< / h3 >
< div class = "card-comment" > {comment}< / div >
< div class = "card-desc text-center" >
2021-02-07 21:43:06 +01:00
< img src = "/user/images/{image}" height = 100 style = "vertical-align:middle" >
2018-05-08 23:50:06 +02:00
< / div >
< / div >
2021-02-07 21:43:06 +01:00
< div class = "annotations flex-container" >
< div class = "flex-child annotation" > < a href = "{file}.sha256sum" > [fa=barcode] Checksum< / a > < / div >
< div class = "flex-child annotation" > < a href = "{file}.sig" > [fa=tag] Signature< / a > < / div >
2018-05-08 23:50:06 +02:00
< / div >
< div class = "btn-group" role = "group" >
2021-02-07 21:43:06 +01:00
< a href = "{file}" target = "_BLANK" type = "button" class = "btn btn-info col-sm-12" > [fa=download] Download < small > {version}< / small > < / a >
2018-05-08 23:50:06 +02:00
< / div >
< / div >
< / script >
< script >
/*
###############################################################################
2020-09-29 23:51:19 +02:00
Script that loads the infos from JavaScript and creates the corresponding
2018-05-08 23:50:06 +02:00
cards
###############################################################################
*/
$(document).ready(function () {
2021-02-09 01:56:49 +01:00
$(".javascriptDisclaimer").hide();
2018-05-08 23:50:06 +02:00
console.log("in load");
$.getJSON('https://build.yunohost.org/images.json', function (images) {
$.each(images, function(k, infos) {
// Fill the template
html = $('#image-template').html()
.replace('{id}', infos.id)
.replace('{name}', infos.name)
.replace('{comment}', infos.comment || " ")
.replace('{image}', infos.image)
.replace('{version}', infos.version);
if (infos.file.startsWith("http"))
html = html.replace(/{file}/g, infos.file);
else
html = html.replace(/{file}/g, "https://build.yunohost.org/"+infos.file);
if ((typeof(infos.has_sig_and_sums) !== 'undefined') & & infos.has_sig_and_sums == false)
{
var $html = $(html);
$html.find(".annotations").html(" ");
html = $html[0];
}
$('#cards-list').append(html);
});
});
});
< / script >