fr:cobbler

Différences

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

Lien vers cette vue comparative

fr:cobbler [2013/02/09 00:45] – [Debian] fragglefr:cobbler [2021/12/27 18:23] (Version actuelle) – modification externe 127.0.0.1
Ligne 10: Ligne 10:
 ===== RHEL/CentOS/Scientific Linux ===== ===== RHEL/CentOS/Scientific Linux =====
  
-Cobbler is packaged for RHEL variants through the Fedora EPEL (Extra Packages for Enterprise Linux) system. Follow the directions there to install the correct repo RPM for your RHEL version and architecture. For example, on for a RHEL6.x x86_64 system:+Cobbler is packaged for RHEL variants through the Fedora EPEL (Extra Packages for Enterprise Linux) system. Follow the directions there to install the correct repo RPM for your RHEL version and architecture. For example, on for a RHEL6.x x86_64 operating system:
  
 <code bash> <code bash>
Ligne 58: Ligne 58:
 ===== Debian/Ubuntu based distribution  ===== ===== Debian/Ubuntu based distribution  =====
  
-TODO+FIXME
 ====== Configuration ====== ====== Configuration ======
  
Ligne 103: Ligne 103:
  
 <code> <code>
---- <8 --- /etc/cobbler/dhcp.template+--- 8--- /etc/cobbler/dhcp.template
 ... ...
 subnet 192.168.1.0 netmask 255.255.255.0 { subnet 192.168.1.0 netmask 255.255.255.0 {
Ligne 115: Ligne 115:
 } }
 ... ...
---- 8> ---+--- >---
 </code> </code>
 ===== DHCPD configuration ===== ===== DHCPD configuration =====
Ligne 126: Ligne 126:
  
 <code> <code>
---- <8 --- /etc/sysconfig/dhcpd+--- 8--- /etc/sysconfig/dhcpd
 DHCPDARGS=eth0 DHCPDARGS=eth0
---- 8> ---+--- >---
 </code> </code>
 ===== Cobbler ===== ===== Cobbler =====
Ligne 139: Ligne 139:
 and correct the items listed that exhibit configuration troubles.  and correct the items listed that exhibit configuration troubles. 
  
-Modification to cobbler main configuration file : +Modifications to cobbler main configuration file : 
  
 <code bash> <code bash>
Ligne 146: Ligne 146:
  
 <code> <code>
---- <8 --- /etc/cobbler/settings+--- 8--- /etc/cobbler/settings
 ... ...
 # default, localhost # default, localhost
Ligne 157: Ligne 157:
 manage_dhcp: 1 manage_dhcp: 1
 ... ...
---- 8> ---+--- >---
 </code> </code>
  
Ligne 170: Ligne 170:
 cobbler design is layered : system configuration inherit profile configuration that inherit from distro configuration. You should keep that in mind when you work on it to design each layer that will fit your workflow. For example, distro layer should not have custom kickstart template, reserve the kickstart template to an upper layer.   cobbler design is layered : system configuration inherit profile configuration that inherit from distro configuration. You should keep that in mind when you work on it to design each layer that will fit your workflow. For example, distro layer should not have custom kickstart template, reserve the kickstart template to an upper layer.  
  
-This section is somewhat RHEL-centric for now (but is being "debianised") +This section is somewhat Debian or RHEL centric for now.   
  
 ===== Distribution's importation ===== ===== Distribution's importation =====
Ligne 193: Ligne 192:
    
  
-For Debian, import the debian-6.0.6-<arch>-CD-1.iso preferably or even an higher revision of the same major version. +For Debian, import the debian-6.0.6-<arch>-CD-1.iso preferably or even an higher revision of the same major version if you do not have a network connection 
  
 <code bash> <code bash>
Ligne 222: Ligne 221:
 $ cobbler distro edit --name=debian6-i386 --kernel=/data/images/debian6-i386/debian-installer/i386/linux --initrd=/data/images/debian6-i386/debian-installer/i386/initrd.gz $ cobbler distro edit --name=debian6-i386 --kernel=/data/images/debian6-i386/debian-installer/i386/linux --initrd=/data/images/debian6-i386/debian-installer/i386/initrd.gz
 </code> </code>
 +
 +You might encounter bugs with the Debian installer on squeeze (or not) : Debian kernel do not see disks for example. Try backported squeeze iso and netboot tarball here http://kmuto.jp/debian/d-i/
  
 The initial import will create on very recent cobbler version some pre-configured repositories that you will need to synchronize.  The initial import will create on very recent cobbler version some pre-configured repositories that you will need to synchronize. 
Ligne 243: Ligne 244:
 $ cobbler reposync --only=repo_name $ cobbler reposync --only=repo_name
 </code> </code>
 +
 +
 +If you have a network connection, have a look at : 
 +
 +https://fedorahosted.org/cobbler/wiki/DebianDeployment
 +==== Ubuntu ====
 +
 +FIXME
 ===== Third party repositories mirroring ===== ===== Third party repositories mirroring =====
  
Ligne 269: Ligne 278:
 The same goes for debian and its [[http://wiki.debian.org/DebianInstaller/Preseed|preseed]] system :  The same goes for debian and its [[http://wiki.debian.org/DebianInstaller/Preseed|preseed]] system : 
  
-First rename the Debian x86_64 profile : +First rename the Debian x86_64 profile in case you want to use it directly, Debian installer do not like underscore 
  
 <code bash> <code bash>
  • fr/cobbler.1360367123.txt.gz
  • Dernière modification : il y a 2 ans
  • (modification externe)