Project

General

Profile

Tâche #30919

Scénario #30578: Faire fonctionner Eclair sur un ScribeAD

Faire un script d'install une image de base bootable

Added by Emmanuel GARETTE 11 months ago. Updated 10 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/29/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Associated revisions

Revision 524ec0e3 (diff)
Added by Emmanuel GARETTE 11 months ago

création de l'image (ref #30919)

Revision bca44c5d (diff)
Added by Emmanuel GARETTE 11 months ago

création de l'image (ref #30919)

Revision 0a179c38 (diff)
Added by Emmanuel GARETTE 11 months ago

ajout de la gestion du service tftp (ref #30919)

Revision d3e4d9bb (diff)
Added by Emmanuel GARETTE 11 months ago

création de l'image (ref #30919)

Revision 56438c0f (diff)
Added by Emmanuel GARETTE 11 months ago

création de l'image (ref #30919)

Revision 06a70dbe (diff)
Added by Emmanuel GARETTE 11 months ago

création de l'image (ref #30919)

Revision c2cf0f53 (diff)
Added by Emmanuel GARETTE 11 months ago

activation de salt dans l'image et non sur la machine (ref #30919)

Revision b11bef03 (diff)
Added by Emmanuel GARETTE 11 months ago

activation de salt dans l'image et non sur la machine (ref #30919)

Revision 0fcb7cdd (diff)
Added by Emmanuel GARETTE 11 months ago

deplacer la creation des images en postservice (ref #30919)

Revision 0a589c58 (diff)
Added by Emmanuel GARETTE 11 months ago

deplacer la creation des images en postservice (ref #30919)

Revision 95c56018 (diff)
Added by Emmanuel GARETTE 11 months ago

offrir le choix des images (ref #30919)

Revision 36764bcf (diff)
Added by Emmanuel GARETTE 11 months ago

proxy aussi pour http (ref #30919)

Revision 17fc5384 (diff)
Added by Emmanuel GARETTE 11 months ago

copie du fichier /etc/hosts pour trouver addc (ref #30919)

Revision c4af2d8f (diff)
Added by Joël Cuissinat 10 months ago

  • dicos/30_ltsp.xml : cosmetic fixes

Ref: #30919

History

#1 Updated by Emmanuel GARETTE 11 months ago

mkdir -p /home/ltsp/focal
debootstrap focal /home/ltsp/focal/
chroot /home/ltsp/focal/ apt install -y --no-install-recommends linux-generic initramfs-tools
echo """deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/ubuntu focal main universe multiverse restricted
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/ubuntu focal-security main universe multiverse restricted
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/ubuntu focal-updates main universe multiverse restricted""" > /home/ltsp/focal/etc/apt/sources.list
chroot /home/ltsp/focal/ apt update
chroot /home/ltsp/focal/ apt install -y ltsp gnome

#2 Updated by Emmanuel GARETTE 11 months ago

mkdir /home/ltsp
cd /home/ltsp
wget https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-desktop-amd64.iso
mkdir c
mount -o loop /home/ubuntu-20.04.1-desktop-amd64.iso c/
mkdir -p /srv/tftp/ltsp/ubuntu /srv/ltsp/images
cp -a c/casper/filesystem.squashfs /srv/ltsp/images/ubuntu.img
cp -a c/casper/vmlinuz /srv/tftp/ltsp/ubuntu
cp -a c/casper/initrd /srv/tftp/ltsp/ubuntu.img
umount c
rmdir c

#3 Updated by Emmanuel GARETTE 11 months ago

  • Status changed from Nouveau to En cours

#4 Updated by Emmanuel GARETTE 11 months ago

mkdir -p /srv/ltsp/images/
mv focal-server-cloudimg-amd64.img /srv/ltsp/images/cloud.img
mkdir a
mount /srv/ltsp/images/cloud.img a/
mkdir -p  /srv/tftp/ltsp/cloud
cp -L a/boot/initrd.img /srv/tftp/ltsp/cloud
cp -L a/boot/vmlinuz /srv/tftp/ltsp/cloud
umount a
rmdir a

#5 Updated by Emmanuel GARETTE 11 months ago

  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 90

#6 Updated by Emmanuel GARETTE 11 months ago

  • % Done changed from 90 to 100

#7 Updated by Emmanuel GARETTE 11 months ago

  • Status changed from En cours to Résolu

#8 Updated by Joël Cuissinat 10 months ago

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

Vu

Also available in: Atom PDF