aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets
AgeCommit message (Collapse)AuthorFilesLines
2018-04-16cobbler: support deploying ubuntu on armYibo Cai1-0/+2
Deploy ubuntu by setting ADAPTER_OS_PATTERN='(?i)ubuntu-16.*arm.*' and OS_VERSION=xenial. Change-Id: I1035a2d45225fceab6eead35d77d98130def373b Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-12-22deploy/cobbler: drop tcp_tw_recycle in sysctl.confYibo Cai3-3/+0
Currently, tcp_tw_recycle is set explicitly in sysctl.conf when installing OS by cobbler. This option is removed in kernel4.12, current sysctl.conf breaks sysctl function and K8s deployment. Actually, tcp_tw_recycle is considered broken and not recommended to use. We may simply drop this option to be compatible with different kernel versions. References: - https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4396e46187ca5070219b81773c4e65088dac50cc Change-Id: I2cd89db3d423c811ba58eb5960f3cc718475be5f Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-14Fix centos kickstart_done snippetHarry Huang1-1/+1
Bug: CentOS-7-Minimal-1611-x86_64 image doesn't contain wget package and kickstart_done snippet use wget to call cobbler api to set netboot enable to false. This way if host installed centos which is not set to boot from disk will stuck in pxe loop Solution: Use curl instead of wget in kickstart_done Change-Id: I0414adab72047a367b7cb15fe6a5537c76234972 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-24Install network pkgs during OS installationHarry Huang1-1/+1
Before network is setup, host can't access to internet. Install bridge-utils, ifenslave and vlan when cobbler managing OS installation so when network restart all pkgs needed is ready. Change-Id: Idaa880ed0abfb50f417d67fe55e964992a185c80 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu2-2/+2
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-03-27Merge "Support bond created"Justin chi3-5/+11
2017-03-16Fix preseed MAC address fetch methodQiLiang1-8/+1
JIRA: - e.g.: root@host1:~# ip link show eth4 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether ec:38:8f:79:fa:5c brd ff:ff:ff:ff:ff:ff root@host1:~# echo $(echo $@ | cut -d' ' -f17) ec:38:8f:79:fa:5c root@host4:~# ip link show eth4 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop portid 0100000000000000000000000000003000 state DOWN mode DEFAULT group default qlen 1000 link/ether e0:36:76:d2:34:73 brd ff:ff:ff:ff:ff:ff root@host4:~# echo $(echo $@ | cut -d' ' -f17) 1000 root@host4:~# echo $(echo $@ | cut -d' ' -f19) e0:36:76:d2:34:73 Change-Id: I916c19807da724e9ba471376f81f3c763b9340d5 Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-03-14Support bond createdliyuenan3-5/+11
JIRA: - You can add bond according to deploy/conf/network_cfg.yaml. Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-02-27Add License header for files without itchigang2-0/+18
JIRA: - use the first author's company for license holder use the latest year for license year add license for yml,c,cpp,shell,python,java. don't add license for template files such as config and j2 patch for auto add license: https://github.com/Justin-chi/Lab/blob/master/add_license.sh delete the files with the Eclipse License Change-Id: I4f17da4ebb36a074c0b6722a2a4154e6c235d4bb Signed-off-by: chigang <chigang@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan1-1/+1
JIRA: COMPASS-518 Make Centos Newton ppa. Update host Centos version to 7.3. Support Centos Newton Deploy. Support Ceph Deploy. Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-23FIX cobbler system edit cmd args errorQiLiang1-1/+1
use "--static=1" to set server nic to static mode JIRA: COMPASS-489 Change-Id: I4d8d90f861b6b264575fc0781f585a6ef6bd1c70 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-26FIX xenial baremetal deploy failureliyuenan1-1/+1
JIRA: COMPASS-489 Change-Id: I721f22dd15279d5ef586de4eaa3735756245d47f Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-07-14Support Ubuntu 14.04 and Ubuntu 16.04 in one ISOchenshuai@huawei.com1-0/+1
JIRA: COMPASS-431 Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-11Improvement: add xenial into make_repo.shchenshuai@huawei.com1-0/+2
JIRA: COMPASS-431 Change-Id: I010c3df11bd7fe1fec6ad8034a0ae67bb3e84ac7 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-08-05support deployment os of centos7.1 with cobbler for compassbaigk55-8/+3260
JIRA: COMPASS-5 Change-Id: I6aa19548a17791f8862c6dba00380ef946ea3108 Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-05delete the windows newline characterbaigk62-3494/+3493
JIRA: COMPASS-7 Change-Id: Iffd549877b8cc50a995bdc59adf1f05c0fcb1d5e Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-02support deployment os of ubuntu 14.04 with cobbler for compassbaigk62-0/+3494
JIRA: COMPASS-3 Change-Id: I703658b04ec7ec1df4a2a3b9eac5656419d8fd9f Signed-off-by: baigk <baiguoku@huawei.com>