Tâche #21339
Scénario #21239: Fournir un module AmonEcole-Eclair
Création du paquet AmonEcole-Eclair
Description
- Dans le dépôt conf-amonecole
- Calcul automatique des variables
- adresse IP du NFS ⮕ montage
/home
- adresse IP du LDAP ⮕
%%adresse_ip_bdd
(routage interne) - Dicos amonecole + amonecole-eclair
- Création de
/var/lib/tftpboot
sur le maître (attention à l’espace disque, lien symbolique dans /opt)
- adresse IP du NFS ⮕ montage
Related issues
Associated revisions
Create AmonEcole-Eclair module
- Share TFTP directory between master and containers
- Mount home in LTSP container
- Bind container first interface to master second interface
Ref: #21339
Force local LDAP client for AmonEcole-Eclair
The “30_ltsp.xml” dictionnary force remote LDAP, we meed to override
it.
Ref: #21339
Force use of DHCP and TFTP for AmonEcole-Eclair
Ref: #21339
/home is “mount --bind” in LTSP container
- dicos/55_amonecole-eclair.xml: Just disable the
“adresse_serveur_nfs” variable.
Ref: #21339
Adapt PXE path for TFTP with Eclair
Ref: #21339
We favorise FAT clients for AmonEcole-Eclair
Ref: #21339
New EOLE module AmonEcole-Eclair
The AmonEcole-Eclair is AmonEcole + AmonEcole-Eclair dictionnary.
- debian/control: new module meta-package
“eole-amonecole-eclair-module” and its module package
“eole-amonecole-eclair”.
- debian/eole-amonecole-eclair.install: install AmonEcole-Eclair
dictionnary.
- debian/eole-amonecole.install: Install only AmonEcole dictionnary.
- debian/eole-amonecole-eclair.dirs: Create “/opt/tftpboot” directory.
Ref: #21339
Eclair requires a dedicated profile
- apparmor/lxc-default-for-eclair: add filesystem proc, sysfs et bind
mount options.
- conf-amonecole.mk (apparmor_DATA_DIR): install apparmor profile.
Ref: #21339
Reload LXC apparmor profile on install.
Ref: #21339
Install all packages for standalone non LXC Eclair
We need to remove “eole-ltsp-server-pkg” from “eole-ltsp-server”
dependencies for AmonEcole-Eclair.
- debian/control (Depends): add “eole-ltsp-server-pkg” to
eole-eclair-all.
Ref: #21339
AmonEcole-Eclair requires EOLE LTSP dependencies
- debian/control (Depends): Add “eole-ltsp-server” and
“eole-gaspacho-agent”.
Ref: #21339
Group gaspacho container with LTSP
Ref: #21339
We need to install apparmor profile
Ref: #21339
Fix path to apparmor profile
Ref: #21339
Eclair requires a specific apparmor profile
Ref: #21339
Reloading LXC apparmor profile is not enough
Just reloading the lxc-containers profile does not load the new one.
- debian/eole-amonecole-eclair.postinst: Reload service instead of
just reloading the LXC profile.
Ref: #21339
Default machine name length must not have more than 15 characters
Or the samba domain integration fails.
- dicos/55_amonecole-eclair.xml: default machine name without a dash.
Ref: #21339
History
#1 Updated by Daniel Dehennin over 5 years ago
- Status changed from Nouveau to En cours
#2 Updated by Daniel Dehennin over 5 years ago
- Description updated (diff)
- Assigned To set to Daniel Dehennin
#3 Updated by Daniel Dehennin over 5 years ago
- Estimated time set to 0.00 h
- Remaining (hours) set to 0.0
#4 Updated by Daniel Dehennin over 5 years ago
- Estimated time changed from 0.00 h to 8.00 h
- Remaining (hours) changed from 0.0 to 6.0
#5 Updated by Daniel Dehennin over 5 years ago
- Subject changed from Création du dictionnaire AmonEcole-Eclair to Création du paquet AmonEcole-Eclair
- Description updated (diff)
- Estimated time changed from 8.00 h to 12.00 h
- Remaining (hours) changed from 6.0 to 10.0
#6 Updated by Daniel Dehennin over 5 years ago
- Description updated (diff)
#7 Updated by Daniel Dehennin over 5 years ago
- Description updated (diff)
#8 Updated by Daniel Dehennin over 5 years ago
- Remaining (hours) changed from 10.0 to 8.0
#9 Updated by Daniel Dehennin over 5 years ago
- Description updated (diff)
#10 Updated by Daniel Dehennin over 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 8.0 to 2.0
#11 Updated by Daniel Dehennin over 5 years ago
- Related to Tâche #21384: La redéfinition du client ldap dans le dicos 30_ltsp n'est pas applicable dans le contexte d'un amonecole-eclair added
#12 Updated by Scrum Master over 5 years ago
- Status changed from En cours to Résolu
#13 Updated by Emmanuel GARETTE over 5 years ago
- Remaining (hours) changed from 2.0 to 12.0
#14 Updated by Emmanuel GARETTE over 5 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 12.0 to 0.0
Tout semble fonctionnel comme prévu (l'image est bien construit dans /opt, l'image est une fat amd64, les utilisateurs LDAP sont bien vus dans le conteneur, ...).