1 2 | service cobblerd start service httpd start |
1 2 3 4 5 6 7 8 | [dns] module = manage_dnsmasq [dhcp] module = manage_dnsmasq [tftpd] module = manage_in_tftpd |
1 | dhcp-range=192.168.122.5,192.168.122.254,255.255.255.0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Cobbler generated configuration file for dnsmasq # $date # # resolve.conf .. ? #no-poll #enable-dbus read-ethers addn-hosts = /var/lib/cobbler/cobbler_hosts dhcp-range=192.168.122.5,192.168.122.254,255.255.255.0 dhcp-ignore=tag:!known dhcp-option=3,$next_server dhcp-lease-max=1000 dhcp-authoritative dhcp-boot=pxelinux.0 dhcp-boot=net:normalarch,pxelinux.0 dhcp-boot=net:ia64,$elilo $insert_cobbler_system_definitions |
1 2 3 | service cobblerd restart cobbler sync service xinetd restart |
1 2 | mount -o loop /Fedora-17-x86_64-DVD.iso /mnt/iso cobbler import --arch=x86_64 --path=/mnt/iso --name=Fedora17 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | cobbler distro report Name : Fedora17-x86_64 Architecture : x86_64 TFTP Boot Files : {} Breed : redhat Comment : Fetchable Files : {} Initrd : /var/www/cobbler/ks_mirror/Fedora17-x86_64/images/ pxeboot/initrd.img Kernel : /var/www/cobbler/ks_mirror/Fedora17-x86_64/images/ pxeboot/vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/ Fedora17-x86_64'} Management Classes : [] OS Version : generic26 Owners : ['admin'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {} cobbler profile report Name : Fedora17-x86_64 TFTP Boot Files : {} Comment : DHCP Tag : default Distribution : Fedora17-x86_64 Enable gPXE? : 0 Enable PXE Menu? : 1 Fetchable Files : {} Kernel Options : {} Kernel Options (Post Install) : {} Kickstart : Kickstart Metadata : {} Management Classes : [] Management Parameters : <<inherit>> Name Servers : [] Name Servers Search Path : [] Owners : ['admin'] Parent Profile : Proxy : Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Repos : [] Server Override : <<inherit>> Template Files : {} Virt Auto Boot : 1 Virt Bridge : xenbr0 Virt CPUs : 1 Virt Disk Driver Type : raw Virt File Size(GB) : 5 Virt Path : Virt RAM (MB) : 512 Virt Type : qemu |
1 2 3 4 | cobbler repo add --arch=x86_64 --name=Flash-plugin \ --mirror=http://linuxdownload.adobe.com/linux/x86_64/ cobbler reposync cobbler repo report |
1 | cobbler profile edit --name=Fedora17-x86_64 --repos=Flash-plugin |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |