Commit Graph

1159 Commits

Author SHA1 Message Date
Arata Notsu
1d3ca33ce7 Add copyright to lib/ramdisk-*
Change-Id: I6b48205858f3bc6e55b3dd6efc3e038dd6c42127
2012-12-11 18:14:19 +09:00
Robert Collins
7afabfb06e Generate apt.conf files with correct content, fixes bug 1088805.
Change-Id: I26b855260fdfc472179774779558ed7f0947da6c
2012-12-11 21:23:07 +13:00
Chris Jones
ae1e74acd8 Further fleshing out of hwdiscovery element
This adds support for other elements to feed into the hwdiscovery
results.

It also fixes a few bugs in the construction of the ramdisk.

It also adds support for specifying a server to POST the discovered
hardware data to, via the kernel command line

Change-Id: I163db2b1388f908880e8f458e16906fa6f9db7bc
2012-12-06 21:55:30 +00:00
Chris Jones
9243a8e3f9 Move grub installation to the vm element
It makes more sense for grub to be installed by the vm element, since
that is intended to produce directly bootable disk images.

Change-Id: Ic340ba9d3ec4dbeea3aed3576fc899c1424783a2
2012-12-06 12:44:18 +00:00
Monty Taylor
1eff4a436e Rename flavour to element.
Flavour is overloaded in openstack due to it being used by nova. Element
seems to have the same feeling of combinability without using a term already
in active use in the openstack community.

Change-Id: Ia4c028d4062a8f69c66665821c94dd4bcdf06031
2012-12-05 14:04:58 -08:00
Darragh Bailey
e1bc989c2c Configure git proxy settings and prefer http(s) protocol
Set a proxy for http protocol usage by git, and switch to using
the https:// protocol in preference to git:// to make it easier
to clone from behind firewalls.

Change-Id: I41e809c54f3065d59ca84d83be80b9472361dd9d
2012-12-05 17:28:52 +00:00
Jenkins
7ccf5282ed Merge "Use system resolv.conf file when available" 2012-12-03 21:38:54 +00:00
Darragh Bailey
e5cda1f731 Use system resolv.conf file when available
Where possible use the system configured resolv.conf file
to to support resolution of internal servers such as proxies.
Use previous hardcoded google dns nameserver as fallback

Change-Id: Ibc1e8a3b96e733a2f7fbcdd4b2c5d3e8926424c4
2012-12-03 15:18:09 +00:00
Arata Notsu
0b81a3e0e8 Remove udev stuff from the source tree
Pick udev stuff from the running evironment instead.

Change-Id: I90a004d0a2b83d3451e73ae351cf474a7bfd62ee
2012-11-29 12:32:06 +09:00
Monty Taylor
5682d59ca6 Add .gitreview file.
Change-Id: I95b011b1851d4299efa19e0527e7594d31600418
2012-11-28 08:57:46 -08:00
Ghe Rivero
38dc7680c9 Jenkins image fixed
- Removed http_proxy option
- Added sudoers entry to cp first-bot.d
- Fixed typo on 11-jenkins-plugins
- Restored trap exit on run-parts
2012-11-27 18:37:57 +01:00
Robert Collins
f48fa9e369 Reinstate /mnt redirection of jenkins - HPCS cloud images have a very
restricted /.
2012-11-27 15:13:37 +13:00
Ghe Rivero
a3f9f12a4a Untrap EXIT before run-parts 2012-11-26 19:05:12 +01:00
Chris Jones
3d596d7e9c Update hwdiscovery flavour to have lots more structure that we can build on 2012-11-26 10:55:46 +00:00
Ghe Rivero
c3acf1ed9c fix crappy header 2012-11-23 16:25:14 +01:00
Ghe Rivero
fcf68d1c18 Updated jenkins flavour
- Install list of plugins
- Use an http service as proxy on port 80
  - Only nginx for now
2012-11-23 10:26:39 +01:00
Robert Collins
5efe4f983f Make a primitive jenkins image. 2012-11-22 18:05:45 +13:00
Devananda van der Veen
d935fc0e07 be smarter about mounting qcow images
some images have partition tables, some don't
2012-11-21 19:00:53 -08:00
Robert Collins
90f0077cba Use base in all examples. 2012-11-22 15:07:15 +13:00
Chris Krelle
51cbc17c4a added br* filter for interfaces 2012-11-20 15:21:29 -08:00
NoBodyCam
e1203eccf2 adding BASIC hardware discovery. 2012-11-20 14:05:20 -08:00
NoBodyCam
2b879aea6a adding dhclient support 2012-11-20 14:04:40 -08:00
NoBodyCam
06bbe7d334 adding dhclient 2012-11-20 14:03:40 -08:00
Tim Miller
589d961cb2 Merge remote-tracking branch 'upstream/tripleo' into tripleo 2012-11-20 11:21:21 -08:00
Tim Miller
e636d61365 move misplaced salt-master install script. 2012-11-20 10:59:44 -08:00
Devananda van der Veen
d0d372ad78 mount_qcow_image should mount p1 2012-11-20 05:21:53 -08:00
NoBodyCam
e3551c752f removes AMQP install and adds hwinfo 2012-11-19 17:04:51 -08:00
NoBodyCam
f7fdec55a8 added lsmod to default busybox links 2012-11-19 16:01:40 -08:00
Tim Miller
4e6ca85e8f add salt-master flavor. 2012-11-19 14:18:33 -08:00
Devananda van der Veen
fb426153f4 remove force-xtrace in disk-image-get-kernel 2012-11-18 08:17:54 -08:00
Devananda van der Veen
e5fcb27790 add some tooling that baremetal-devstack wants
- add bin/disk-image-get-kernel to extract vmlinuz/initrd from .qcow2
- add corresponding methods to lib/common-functions
  - map_nbd
  - (un)mount_qcow_image
2012-11-18 07:20:27 -08:00
chriskrelle
37253564d3 move tgtd & tgtadm to bin-deps of deploy and remove from lib/ramdisk-functions 2012-11-16 16:30:11 -08:00
chriskrelle
aa12710e5b Adding python-AMQPLib install to HWdiscovery 2012-11-16 15:06:14 -08:00
Robert Collins
4b7cdb4fdc Fix copyrights for HP work. 2012-11-15 16:20:32 +13:00
Robert Collins
7ce2c06edd Add a flavour for doing generic this-node-is-in-a-cloud stuff, like cloud-init tweaks. 2012-11-13 15:41:26 +13:00
Devananda van der Veen
ffab3354ca adding mysql flavor (untested) 2012-11-12 16:49:27 -08:00
Robert Collins
823e18fda2 Document more about the layers. 2012-11-13 10:00:33 +13:00
Ghe Rivero
d15b782175 Some cleanup on nova-vm flavour 2012-11-12 19:39:25 +01:00
Chris Jones
f7091cb2fc Add support for flavours to ship udev rules.d files and port over the mellanox variant to use this 2012-11-12 16:57:13 +00:00
Ghe Rivero
cef3e552e6 Fix mysql passwords 2012-11-12 13:09:54 +00:00
Robert Collins
9ecbe14d9c Default to 2G in size - 1G is just too small. 2012-11-12 20:12:46 +13:00
Robert Collins
4c3c7ea9ba Fix handling of parameters that are not set by any flavour for eval_run_d. 2012-11-12 13:45:57 +13:00
Robert Collins
40e954735c Make it possible to set a size from within a flavour, and use that for devstack. 2012-11-12 11:47:26 +13:00
Robert Collins
ac930076fb Rename baremetal to deploy. 2012-11-10 11:36:24 +13:00
Chris Jones
13d65413e1 Remove some whitespace 2012-11-09 22:16:08 +00:00
Chris Jones
6fb8b19b7c Update ramdisk building to support init hooks for flavours 2012-11-09 22:15:05 +00:00
Chris Jones
88a11115f5 Update docs for ramdisk building 2012-11-09 22:15:05 +00:00
Chris Jones
a9bd68f1c3 Add readmes to the ramdisk flavours 2012-11-09 22:15:05 +00:00
Robert Collins
511fb825f9 Documented binary-deps feature. 2012-11-10 10:50:15 +13:00
Chris Jones
eb584f14ed Port old baremetal-mkinitrd.sh to the new image creation standards 2012-11-10 10:50:15 +13:00