首页 > 代码库 > cobbler装机下发文件模板
cobbler装机下发文件模板
[root@bgw-cobbler ~]# cat cobbler_install.txt
cobbler system add --name bgw-os-node1 --hostname bgw-os-node1 --profile openstack
cobbler system edit --name bgw-os-node1 --interface em1 --mac 84:2B:2B:41:5D:7F --ip-address 10.240.216.1 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node2 --hostname bgw-os-node2 --profile openstack
cobbler system edit --name bgw-os-node2 --interface em1 --mac 00:26:B9:3A:2C:C1 --ip-address 10.240.216.2 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node11 --hostname bgw-os-node11 --profile openstack
cobbler system edit --name bgw-os-node11 --interface em1 --mac 78:2B:CB:59:8E:FA --ip-address 10.240.216.11 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node12 --hostname bgw-os-node12 --profile openstack
cobbler system edit --name bgw-os-node12 --interface em1 --mac 84:2B:2B:4E:B4:5C --ip-address 10.240.216.12 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node151 --hostname bgw-os-node151 --profile ceph
cobbler system edit --name bgw-os-node151 --interface eth0 --mac B4:99:BA:BF:1F:EA --ip-address 10.240.216.151 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node152 --hostname bgw-os-node152 --profile ceph
cobbler system edit --name bgw-os-node152 --interface eth0 --mac E8:39:35:22:EA:1C --ip-address 10.240.216.152 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
cobbler system add --name bgw-os-node153 --hostname bgw-os-node153 --profile ceph
cobbler system edit --name bgw-os-node153 --interface eth0 --mac B4:99:BA:BF:1F:36 --ip-address 10.240.216.153 --netmask 255.255.255.0 --gateway 10.240.216.254 --static 1
c
本文出自 “zhanguo1110” 博客,请务必保留此出处http://zhanguo1110.blog.51cto.com/5750817/1599065
cobbler装机下发文件模板