tuto:ipasserelle:divers:boot_pxe

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Dernière révision Les deux révisions suivantes
tuto:ipasserelle:divers:boot_pxe [10/05/2014 12:43]
dani [Ubuntu]
tuto:ipasserelle:divers:boot_pxe [28/10/2014 13:22]
dani [CentOS 7]
Ligne 205: Ligne 205:
 <code bash> <code bash>
 db thinclient set centos-6-x86_64 dist dir "centos/6/x86_64" install Manual prog pxelinux.0 db thinclient set centos-6-x86_64 dist dir "centos/6/x86_64" install Manual prog pxelinux.0
 +</code>
 +
 +===== CentOS 7 =====
 +
 +<code bash>
 +mkdir -p /tftpboot/centos/7/x86_64
 +cd /tftpboot/centos/7/x86_64
 +wget http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/initrd.img
 +wget http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/vmlinuz
 +cp -a /tftpboot/{pxelinux.0,menu.c32} ./
 +mkdir pxelinux.cfg
 +cat <<'EOF' > pxelinux.cfg/default
 +default menu.c32
 +prompt 0
 +timeout 1
 +hiddenmenu
 +
 +label CentOS 7 x86_64
 +   kernel vmlinuz
 +   append initrd=initrd.img
 +
 +EOF
 +
 +cat <<'EOF' >> /tftpboot/pxelinux.cfg/default
 +
 +label CentOS 7 x86_64
 +   kernel centos/7/x86_64/vmlinuz
 +   append initrd=centos/7/x86_64/initrd.img inst.repo=http://mirror.centos.org/centos/7/os/x86_64/
 +
 +EOF
 +
 +</code>
 +
 +Puis ajouter la distribution:
 +<code bash>
 +db thinclient set centos-7-x86_64 dist dir "centos/7/x86_64" install Manual prog pxelinux.0
 </code> </code>
  • tuto/ipasserelle/divers/boot_pxe.txt
  • Dernière modification: 23/12/2014 15:10
  • de dani