Commit graph

184 commits

Author SHA1 Message Date
Jesse Andrews
70188b3105 add image caching to lxc 2011-10-26 21:59:45 -07:00
Dean Troyer
f2a343b00f Convert to use UEC images 2011-10-26 16:05:28 -05:00
Dean Troyer
5cc7ebde67 Merge branch 'master' of github.com:cloudbuilders/devstack into uec-image 2011-10-26 15:55:43 -05:00
Dean Troyer
a0cf3c8291 Do update copies 2011-10-26 15:52:34 -05:00
Dean Troyer
e33c5f6327 Extract boot kernel from ramdisk image 2011-10-26 15:13:00 -05:00
Dean Troyer
7920b0f757 Wait for partition device to appear 2011-10-26 15:10:46 -05:00
Jesse Andrews
ad21d1a78e raise an error if stack fails in lxc 2011-10-26 12:39:00 -07:00
Dean Troyer
ae6055685c Always resize the root filesystem 2011-10-26 12:35:22 -05:00
Dean Troyer
ea442c1cb7 Install a generic kernel in the ramdisk image 2011-10-26 12:34:59 -05:00
Jesse Andrews
7b1aa5b6be Merge branch 'master' of github.com:cloudbuilders/devstack 2011-10-26 08:51:59 -07:00
Jesse Andrews
7d45a0fa60 default the root password to admin password and don't fail if group already exists 2011-10-26 08:51:49 -07:00
Jesse Andrews
c99d4ad156 Merge pull request #102 from cloudbuilders/cache_images_kvm
Cache images kvm
2011-10-25 23:55:56 -07:00
Jesse Andrews
00dcc067f7 put them in the right place 2011-10-25 23:51:43 -07:00
Jesse Andrews
244655f0c5 copy to a directory not file 2011-10-25 23:48:39 -07:00
Jesse Andrews
9173d06706 typo 2011-10-25 23:43:03 -07:00
Jesse Andrews
6065772fec cache the images 2011-10-25 23:41:59 -07:00
Dean Troyer
61be924209 Final ramdisk must be a filesystem image 2011-10-25 22:35:23 -05:00
Dean Troyer
a6466e0f67 Initial conversion to use UEC images 2011-10-25 17:53:24 -05:00
Dean Troyer
a03b99dc99 Fix typos 2011-10-25 16:28:49 -05:00
Dean Troyer
42940a4ff2 Merge branch 'image' 2011-10-25 15:51:01 -05:00
Dean Troyer
ecc5a90929 Add check for version compatibility 2011-10-25 15:49:47 -05:00
Dean Troyer
e753fdf42c Add get_uec_image.sh 2011-10-25 15:45:52 -05:00
Anthony Young
6856536144 Fix issue #98 - wait till nbd is connected using method in nova's disk.py 2011-10-24 23:20:12 -07:00
Jesse Andrews
381591ad66 raise error if stack.sh failed 2011-10-24 22:25:16 -07:00
Jesse Andrews
87a73e8216 only run apt-get install if needed - fixes multiple builds being kicked off at once 2011-10-24 17:06:58 -07:00
Dean Troyer
fcfa9c3d1f Add oneiric to supported list 2011-10-24 16:18:52 -05:00
Dean Troyer
9af93e9551 Add oneric to supported list 2011-10-24 16:11:20 -05:00
Jesse Andrews
f5ecd5bcaf Add comment about why the sleep is there 2011-10-24 12:59:29 -07:00
Jesse Andrews
61e0a2e0da don't explode if domain doesn't already exist in build_kvm.sh 2011-10-24 12:47:13 -07:00
Jesse Andrews
b169b6354d typo in setting root password 2011-10-24 12:46:01 -07:00
Jesse Andrews
4b8ab92ebb errexit for build_kvm.sh 2011-10-24 12:42:43 -07:00
Jesse Andrews
1369c05f9b can't unmount if cwd is in copy 2011-10-24 12:38:13 -07:00
Jesse Andrews
82040df0da update build lxc/kvm variables to GUEST instead of CONTAINER 2011-10-22 20:56:23 -07:00
Jesse Andrews
ccc11c9d18 use CONTAINER_NAME instead of CONTAINER like build_kvm.sh 2011-10-22 20:52:29 -07:00
Jesse Andrews
ec1d0318ab libvirt.xml needs to be created in correct location 2011-10-21 19:22:55 -07:00
Dean Troyer
d03329106f Rename BASE_IMAGE_COPY to VM_IMAGE 2011-10-21 14:58:44 -05:00
Dean Troyer
ad57a3a8e8 Change hard-coded natty to DIST_NAME 2011-10-21 14:29:30 -05:00
Dean Troyer
e4f030fef1 Add CONTAINER_NAME to BASE_IMAGE_COPY value 2011-10-21 14:28:03 -05:00
Jesse Andrews
47d265b060 Merge pull request #63 from dtroyer/2-checkout-devstack
checkout devstack
2011-10-21 11:32:46 -07:00
Jesse Andrews
13050a8735 Merge pull request #85 from cloudbuilders/n-vol
initial support for volumes
2011-10-21 11:32:25 -07:00
James E. Blair
698fc619b7 Merge remote-tracking branch 'cloudbuilders/master'
Conflicts:
	stack.sh
2011-10-21 12:07:23 -04:00
Jesse Andrews
6960eff979 parameterize ram/cores in build_kvm 2011-10-20 14:57:18 -07:00
Anthony Young
6993746cac add some sleeps to help figure out mount error 2011-10-20 12:55:46 -07:00
Anthony Young
d781efd87b fix space 2011-10-20 12:36:09 -07:00
Anthony Young
babb2e075a re-order cleanup calls 2011-10-20 12:35:01 -07:00
Anthony Young
03c1fa6012 use CONTAINER_NAME, like lxc, and use default semi-unique mac addresses 2011-10-20 11:35:14 -07:00
Anthony Young
b22263a604 tweaks per jesse comments 2011-10-20 10:26:30 -07:00
James E. Blair
7057ae991d Reduce timeouts to 60 seconds. 2011-10-20 12:23:50 -05:00
Anthony Young
acff87a202 initial support for volumes 2011-10-20 10:12:58 -07:00
Vishvananda Ishaya
9b3536714a fix whitespace 2011-10-20 10:08:20 -07:00
James E. Blair
92e81992c1 Add bare-metal build scripts.
Add ROOTSLEEP parameter to avoid 10 second sleep.

Add host argument to mysql password change command so that it
will still work if mysql is already installed and running
(otherwise, the my.cnf created immediately prior takes precedence).

Add timeouts when waiting for things to start so they aren't in
infinite loops.
2011-10-20 11:26:08 -05:00
Anthony Young
3ee09ec209 now works with natty 2011-10-19 20:35:04 -07:00
Anthony Young
9c0fdd7ded parameterize nbd dev 2011-10-19 20:22:32 -07:00
Anthony Young
d51812d444 working build_kvm 2011-10-19 20:09:43 -07:00
Anthony Young
67243cebe1 Merge remote-tracking branch 'origin/build_kvm' into build_kvm 2011-10-19 17:26:07 -07:00
Anthony Young
728e944d0b Merge branch 'build_kvm', remote-tracking branch 'origin' into build_kvm 2011-10-19 17:19:15 -07:00
Jesse Andrews
0e0affddb6 Merge pull request #67 from dtroyer/7-stack-home
stack home dir
2011-10-19 15:59:19 -07:00
Anthony Young
fa4b5eba20 more progress on build_kvm 2011-10-19 11:27:02 -07:00
Anthony Young
f6f52270a9 console log 2011-10-19 02:58:18 -07:00
Anthony Young
1b7a42e075 add build_kvm file 2011-10-19 02:34:06 -07:00
Dean Troyer
314bc2247d Fix another chroot/chown combo 2011-10-18 16:32:13 -05:00
Dean Troyer
d642f86144 Fix syslinux failure on new USB drive 2011-10-18 16:15:57 -05:00
Anthony Young
583bad0b14 minor tweaks - source stackrc/localrc for excercise.sh. Also, fix typo in build_lxc.sh 2011-10-18 08:22:30 -07:00
Anthony Young
028cad1644 better pre-caching 2011-10-17 14:10:42 -07:00
Dean Troyer
b5da51972c Always use current devstack in ramdisk 2011-10-17 14:19:05 -05:00
Anthony Young
ae8bc12d1a automatically use the nameserver of the launching host if not specified 2011-10-17 10:38:05 -07:00
Dean Troyer
bd50e963e7 Merge remote-tracking branch 'upstream/master' into 4-run.sh 2011-10-17 12:22:01 -05:00
Anthony Young
6b9d6dad6a force dep updates every run for now 2011-10-17 10:12:22 -07:00
Anthony Young
04db155a70 make sure to kill tail on exit 2011-10-17 09:40:45 -07:00
Dean Troyer
0fdb2ec15f Remove natty image fakery 2011-10-17 10:48:21 -05:00
Anthony Young
25369c914a make tail stop when stack.sh is finished 2011-10-14 16:50:27 -07:00
Anthony Young
9ff71acb08 make build_lxc.sh work on oneiric 2011-10-14 15:02:20 -07:00
Anthony Young
e8efef7980 move lxc to tools 2011-10-14 12:00:50 -07:00
Dean Troyer
288f3bdc23 Set hostname in ramdisk image 2011-10-13 15:50:44 -05:00
Jesse Andrews
8abb812e9e Merge pull request #66 from dtroyer/6-usb-boot
Add build_usb_boot
2011-10-13 11:37:15 -07:00
Dean Troyer
7c076eeff5 Add FLOATING_RANGE default 2011-10-13 13:20:13 -05:00
Dean Troyer
9a60bfac1e Cleanups 2011-10-11 20:34:07 -05:00
Dean Troyer
274ec1022e Add build_usb_boot.sh 2011-10-11 20:32:07 -05:00
Dean Troyer
dd6636be06 Cleanup PXE boot config 2011-10-11 20:28:39 -05:00
Dean Troyer
8f851e716e Create run.sh 2011-10-11 20:22:23 -05:00
Dean Troyer
f6fd4dcf2e Check out devstack by default 2011-10-11 20:03:05 -05:00
Dean Troyer
5611951aef Move utility scripts to tools/ 2011-10-11 19:45:58 -05:00
Dean Troyer
135fb64534 Major refactor of vpn install 2011-09-27 12:57:53 -05:00
Jesse Andrews
2969c701a0 initial commit of wilks work 2011-09-24 12:31:57 -07:00