Project

General

Profile

Tâche #21341

Scénario #21239: Fournir un module AmonEcole-Eclair

Simplifier le script postservice eclair

Added by Daniel Dehennin over 3 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/13/2017
Due date:
% Done:

100%

Estimated time:
18.00 h
Spent time:
Remaining (hours):
0.0

Description

  • Ce script exécute beaucoup de commande qu’il faudrait transformer en script installé dans le conteneur eclair (ou le maître en fonction du choix fait dans #21340)
  • Avoir un fichier de configuration
  • Le postservice ne ferait qu’appeler ce script

Associated revisions

Revision 80795755 (diff)
Added by Daniel Dehennin over 3 years ago

Postservice need to work in container mode

  • scripts/configure-ltspserver-container: configuration of ltspserver
    container.
  • sbin/eole-gen-ltsp-images: generate LTSP images.
  • postservice/00-ltsp: reduce to simply calling in-container scripts.

Ref: #21341

Revision 09cf5ba6 (diff)
Added by Daniel Dehennin over 3 years ago

Install helper scripts in container package

  • debian/eole-ltsp-server-pkg.install: install LTSP helper scripts.
  • debian/eole-ltsp-server.install: use more specific install path.

Ref: #21341

Revision cba3fc7e (diff)
Added by Daniel Dehennin over 3 years ago

Fix installation of scripts

Put only configure-ltspserver-container in the container.

Ref: #21341

Revision dcc3571b (diff)
Added by Daniel Dehennin over 3 years ago

EOLE scripts and logo must be in container

They are used by the LTSP image generation tool.

Ref: #21341

Revision 5c5da787 (diff)
Added by Daniel Dehennin over 3 years ago

LTSP image generation scripts use a configuration file

  • tmpl/eole-ltsp.conf: configuration file for LTSP image generation
    scripts.
  • dicos/30_ltsp.xml: add template to container.
  • sbin/eole-gen-ltsp-images: use the configuration file instead of
    “CreoleGet” calls.
  • scripts/configure-ltspserver-container: ditoo.

Ref: #21341

Revision 482a9d05 (diff)
Added by Daniel Dehennin over 3 years ago

LTSP generation script is interactive by default

Only passing “reconfigure” makes it non-interactive

  • sbin/eole-gen-ltsp-images: revert logic for interactive.

Ref: #21341

History

#1 Updated by Daniel Dehennin over 3 years ago

  • Estimated time set to 18.00 h
  • Remaining (hours) set to 18.0

#2 Updated by Scrum Master over 3 years ago

  • Description updated (diff)
  • Assigned To set to Daniel Dehennin

#3 Updated by Scrum Master over 3 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Daniel Dehennin over 3 years ago

  • Remaining (hours) changed from 18.0 to 8.0

#5 Updated by Daniel Dehennin over 3 years ago

  • % Done changed from 0 to 100

#6 Updated by Laurent Flori over 3 years ago

Les deux scripts fonctionnent bien mais il ne sont pas dans le conteneur ltsp dans le cas d'amonecole. Du coup postservices/00-ltsp echoue

run-parts: executing /usr/share/eole/postservice/00-ltsp instance
bash: /usr/share/eole/sbin/configure-ltspserver-container: Aucun fichier ou dossier de ce type
run-parts: /usr/share/eole/postservice/00-ltsp exited with return code 127
Erreur : postservice

Solution:
Copier les deux scripts dans le conteneur aux endroits attendus
Les scripts sont installés par le packaging debian.

#7 Updated by Laurent Flori over 3 years ago

  • Remaining (hours) changed from 8.0 to 0.5

#8 Updated by Scrum Master over 3 years ago

  • Status changed from En cours to Résolu

#9 Updated by Emmanuel GARETTE over 3 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Le script est bien scindé et il n'y plus de CreoleGet.

Also available in: Atom PDF