设为首页 加入收藏

TOP

Centos7 下cobbler安装及配置(六)
2017-10-16 18:18:52 】 浏览:6004
Tags:Centos7 cobbler 安装 配置
x86_64 --kickstart=/var/lib/cobbler/kickstarts/Centos7.2-x86_64.cfg # 编辑profile,修改ks文件为我们刚刚上传的Centos7.2-x86_64.cfg 4 [root@localhost kickstarts]# cobbler profile edit --name Centos-7.2-x86_64 --kopts='net.ifnames=0 biosdevname=0'
# 修改安装系统的内核参数,在CentOS7系统有一个地方变了,就是网卡名变成eno16777736这种形式,但是为了运维标准化,我们需要将它变成我们常用的eth0,因此使用上面的参数。但要注意是CentOS7才需要上面的步骤,CentOS6不需要。
5 [root@localhost kickstarts]# cobbler profile report 6 Name : Centos-7.2-x86_64 7 TFTP Boot Files : {} 8 Comment : 9 DHCP Tag : default 10 Distribution : Centos-7.2-x86_64 11 Enable gPXE? : 0 12 Enable PXE Menu? : 1 13 Fetchable Files : {} 14 Kernel Options

: {'biosdevname': '0', 'net.ifnames': '0'} 15 Kernel Options (Post Install) : {} 16 Kickstart : /var/lib/cobbler/kickstarts/Centos7.2-x86_64.cfg # ks文件已经修改为我们上传的ks文件 17 Kickstart Metadata : {} 18 Management Classes : [] 19 Management Parameters : <<inherit>> 20 Name Servers : [] 21 Name Servers Search Path : [] 22 Owners : ['admin'] 23 Parent Profile : 24 Internal proxy : 25 Red Hat Management Key : <<inherit>> 26 Red Hat Management Server : <<inherit>> 27 Repos : [] 28 Server Override : <<inherit>> 29 Template Files : {} 30 Virt Auto Boot : 1 31 Virt Bridge : xenbr0 32 Virt CPUs : 1 33 Virt Disk Driver Type : raw 34 Virt File Size(GB) : 5 35 Virt Path : 36 Virt RAM (MB) : 512 37 Virt Type : kvm

4.3.7同步cobbler

 1 [root@localhost kickstarts]# cobbler sync
 2 task started: 2017-10-15_154709_sync
 3 task started (id=Sync, time=Sun Oct 15 15:47:09 2017)
 4 running pre-sync triggers
 5 cleaning trees
 6 removing: /var/www/cobbler/images/Centos-7.2-x86_64
 7 removing: /var/lib/tftpboot/pxelinux.cfg/default
 8 removing: /var/lib/tftpboot/grub/efidefault
 9 removing: /var/lib/tftpboot/grub/grub-x86.efi
10 removing: /var/lib/tftpboot/grub/images
11 removing: /var/lib/tftpboot/grub/grub-x86_64.efi
12 removing: /var/lib/tftpboot/images/Centos-7.2-x86_64
13 removing: /var/lib/tftpboot/s390x/profile_list
14 copying bootloaders
15 trying hardlink /var/lib/cobbler/loaders/grub-x86.efi -> /var/lib/tftpboot/grub/grub-x86.efi
16 trying hardlink /var/lib/cobbler/loaders/grub-x86_64.efi -> /var/lib/tftpboot/grub/grub-x86_64.efi
17 copying distros to tftpboot
18 copying files for distro: Centos-7.2-x86_64
19 trying hardlink /var/www/cobbler/ks_mirror/Centos-7.2-x86_64/images/pxeboot/vmlinuz -> /var/lib/tftpboot/images/Centos-7.2-x86_64/vmlinuz
20 trying hardlink /var/www/cobbler/ks_mirror/Centos-7.2-x86_64/images/pxeboot/initrd.img -> /var/lib/tftpboot/images/Centos-7.2-x86_64/initrd.img
21 copying images
22 generating PXE configuration files
23 generating PXE menu structure
24 copying files for distro: Centos-7.2-x86_64
25 trying hardlink /var/www/cobbler/ks_mirror/Centos-7.2-x86_64/images/pxeboot/vmlinuz -> /var/www/cobbler/images/Centos-7.2-x86_64/vmlinuz
26 trying hardlink /var/www/cobbler/ks_mirror/Centos-7.2-x86_64/images/pxeboot/initrd.img -> /var/www/cobbler/images/Centos-7.2-x86_64/initrd.img
27 Writing template files for Centos-7.2-x86_64
28 rendering DHCP files
29 generating /etc/dhcp/dhcpd.conf
30 rendering TFTPD files
31 generating /etc/xinetd.d/tftp
32 processing boot_files for distro: Centos-7.2-x86_64
33 cleaning link caches
34 running post-sync triggers
35 runni
			
		  
编程开发网
首页 上一页 3 4 5 6 7 下一页 尾页 6/7/7
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇虚拟机+桥接模式+Host-only模式 .. 下一篇在ubuntu16.04中一键创建LAMP环境..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

array(4) { ["type"]=> int(8) ["message"]=> string(24) "Undefined variable: jobs" ["file"]=> string(32) "/mnt/wp/cppentry/do/bencandy.php" ["line"]=> int(217) }