https://dev-eole.ac-dijon.fr/https://dev-eole.ac-dijon.fr/favicon.ico2019-11-28T10:45:06ZEnsemble Ouvert Libre ÉvolutifDistribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1401022019-11-28T10:45:06ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul><li><strong>Statut</strong> changé de <i>Nouveau</i> à <i>En cours</i></li></ul> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1401032019-11-28T10:45:10ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul><li><strong>Assigné à</strong> mis à <i>Fabrice Barconnière</i></li></ul> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1401042019-11-28T10:45:34ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul></ul><p><a class="external" href="https://github.com/opnsense/tools">https://github.com/opnsense/tools</a></p> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1402402019-12-06T07:34:26ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul></ul><p>Malgré ce qui est écrit, il faut plus de 6Go de RAM pour pouvoir construire l'ISO.<br />J'ai utilisé une VM OpenNebula FreeBSD 12 (CPU à 1 et VCPU à 8).<br />Il n'y a pas de swap par défaut. le build plantait avec 6Go de RAM et sans swap.<br />Je suis donc passé à 8Go de RAM avec 4Go de swap (ajouté manuellement).<br />Voici la procédure que j'ai suivie :<br /><pre>
pkg update
pkg upgrade
pkg install git
cd /usr
git clone https://github.com/opnsense/tools
cd tools
make update
# Test de préinstallation de salt non concluant de cette manière : vi config/19.7/ports.conf : add line "sysutils/py-salt arm,arm64"
make ARCH="amd64" VERBOSE=1 dvd
</pre></p>
<p>Bon, ben ça prend un certain temps ... (>12h)</p> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1403452019-12-11T15:20:07ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul></ul><p>Ajouter le paquet py37-salt à l'iso :<br /><pre>
root@localhost:/usr/tools # git diff
diff --git a/config/19.7/extras.conf b/config/19.7/extras.conf
index 11e35cc..0100c38 100644
--- a/config/19.7/extras.conf
+++ b/config/19.7/extras.conf
@@ -19,7 +19,8 @@ arm_hook()
dvd_hook()
{
loader_conf_fixup ${1}
+ echo 'salt_minion_enable="YES"' > ${1}/etc/rc.conf.d/salt_minion
}
nano_hook()
diff --git a/config/19.7/make.conf b/config/19.7/make.conf
index ba193f3..d2b602f 100644
--- a/config/19.7/make.conf
+++ b/config/19.7/make.conf
@@ -94,3 +94,4 @@ www_squid3_UNSET= AUTH_NIS TP_IPFW
www_squid_SET= AUTH_LDAP AUTH_SASL NO_FORGERY ${PRODUCT_GSSAPI} TP_PF
www_squid_UNSET= AUTH_NIS TP_IPFW
www_webgrind_SET= CALLGRAPH
+DEFAULT_VERSIONS+= python=3.7
diff --git a/config/19.7/ports.conf b/config/19.7/ports.conf
index 0ff71e6..1144aa3 100644
--- a/config/19.7/ports.conf
+++ b/config/19.7/ports.conf
@@ -213,6 +213,7 @@ sysutils/munin-node arm,arm64,i386
sysutils/node_exporter arm,arm64
sysutils/nut arm,arm64
sysutils/pftop
+sysutils/py-salt arm,arm64
sysutils/screen
sysutils/smartmontools arm,arm64
sysutils/sysinfo
root@localhost:/usr/tools # make ADDITIONS="py37-salt" VERSION=AMON3 dvd
</pre></p> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1404712019-12-18T07:44:02ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul><li><strong>% réalisé</strong> changé de <i>0</i> à <i>100</i></li><li><strong>Restant à faire (heures)</strong> changé de <i>6.0</i> à <i>0.0</i></li></ul><ul>
<li>Un builder d'iso OPNSense existe sur OpenNebula : <strong><code>FreeBSD 12 - OPNSense ISO Builder</code></strong>
<ul>
<li>IP : voir dans les infos de la VM</li>
<li>login : root / eole</li>
</ul>
</li>
<li>L'image <strong><code>OPNsense-AMON3-OpenSSL-dvd-amd64.iso</code></strong> est disponible sur OpenNebula
<ul>
<li>Saltstack installé et le service <strong><code>salt_minion</code></strong> est lancé au démarrage</li>
<li>login pour lancer l'installation : installer / opnsense</li>
</ul></li>
</ul> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1404722019-12-18T07:44:12ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul><li><strong>Statut</strong> changé de <i>En cours</i> à <i>Résolu</i></li></ul> Distribution EOLE - Tâche #29334: Tester la génération d'une ISOhttps://dev-eole.ac-dijon.fr/issues/29334?journal_id=1409272020-01-16T14:53:27ZFabrice Barconnièrefabrice.barconniere@region-academique-bourgogne-franche-comte.fr
<ul><li><strong>Statut</strong> changé de <i>Résolu</i> à <i>Fermé</i></li></ul>