Commit graph

285 commits

Author SHA1 Message Date
Dean Troyer
6fe687b989 Cleanups for NBD and GRUB2 2011-10-31 20:30:04 -05:00
Jesse Andrews
981f194877 Merge pull request #131 from cloudbuilders/xen_env
copy over ssh keys and other env
2011-10-31 15:34:44 -07:00
Dean Troyer
7a56973441 Address NBD race 2011-10-31 17:34:29 -05:00
Anthony Young
a1a90773a0 copy over ssh keys and other env 2011-10-31 15:32:38 -07:00
Dean Troyer
71745fe62a Address races in NBD and images 2011-10-31 16:59:02 -05:00
Dean Troyer
2dfdbc9e65 Fix up sources.list 2011-10-31 15:46:49 -05:00
Dean Troyer
2c1a2d56c1 Switch to e2fsck 2011-10-31 15:32:54 -05:00
Dean Troyer
c2ddc97003 Leave downloaded image untouched 2011-10-31 15:09:43 -05:00
Jesse Andrews
8b42562d0e Merge pull request #128 from cloudbuilders/grub1
Remove GRUB 1 config
2011-10-31 12:24:27 -07:00
Dean Troyer
4e20969e36 Remove GRUB 1 config 2011-10-31 14:18:31 -05:00
Jesse Andrews
04156dbe86 attempt to fix path issues 2011-10-31 11:59:55 -07:00
Jesse Andrews
97c84744ce sources.list needs to support multiple dists - #124 2011-10-31 11:45:27 -07:00
Jesse Andrews
0d0cddd125 don't need to reboot with proper console 2011-10-31 09:18:37 -07:00
Jesse Andrews
16341967b1 don't show the grep in build_libvirt.sh 2011-10-31 00:21:56 -07:00
Jesse Andrews
0a247835ac attempt to get around the tail not outputing issue 2011-10-31 00:05:35 -07:00
Jesse Andrews
b07381f1c3 nbd default via the guest network 2011-10-30 22:55:45 -07:00
Jesse Andrews
ddcc36d445 try to overwrite the overwrite 2011-10-30 22:41:23 -07:00
Jesse Andrews
2c5201b461 can't figure out cloudinit 2011-10-30 20:44:26 -07:00
Jesse Andrews
ed8aa54909 try ds=nocloud-net;h=foo 2011-10-30 20:34:44 -07:00
Jesse Andrews
932649fac3 proper way of setting hostname using uec kernel params 2011-10-30 20:30:39 -07:00
Jesse Andrews
7e4a33bc6b another attemp at setting guest name 2011-10-30 20:02:03 -07:00
Jesse Andrews
fd584eb6bb set hostname using uec kernel options 2011-10-30 19:58:16 -07:00
Jesse Andrews
5f894cd346 typo 2011-10-30 19:52:50 -07:00
Jesse Andrews
b0559b2e4d having work_dir in here complicates jenkins 2011-10-30 19:46:54 -07:00
Jesse Andrews
d6ee73f94f blow up if CACHEDIR doesn't exist 2011-10-30 19:40:38 -07:00
Jesse Andrews
2b7d221e6c switch to uec 2011-10-30 19:37:56 -07:00
Jesse Andrews
19d62879dd another attempt at exclude 2011-10-30 19:26:28 -07:00
Jesse Andrews
16ba919aea use rsync so we can exclude the work_dir 2011-10-30 19:24:05 -07:00
Jesse Andrews
319897424c topdir should be a real path 2011-10-30 18:56:05 -07:00
Jesse Andrews
7fa561371a fix sourcing 2011-10-30 18:43:54 -07:00
Jesse Andrews
489edb0385 don't need bridge 2011-10-30 18:42:16 -07:00
Jesse Andrews
e97a2e79b9 convert build_kvm to build_libvirt - using libvirt net 2011-10-30 18:37:49 -07:00
Tres Henry
ca85b7996a changing dash to horizon 2011-10-28 15:34:44 -07:00
Anthony Young
082cc3bec6 Merge remote-tracking branch 'origin/master' into xen 2011-10-27 17:07:32 -07:00
Anthony Young
1fdddf8d71 remove extraneous doc 2011-10-27 16:28:22 -07:00
Anthony Young
d395b3a29f add --no-check-certificate so that document procedure works 2011-10-27 13:53:05 -07:00
Anthony Young
b957a855f9 fix for #109 - set the hostname to GUEST_NAME 2011-10-27 13:07:37 -07:00
Anthony Young
138b283823 clean up setting of hostname 2011-10-27 13:06:39 -07:00
Anthony Young
ea1290a997 use better bridge names 2011-10-27 12:53:30 -07:00
Anthony Young
d7f29e6366 update docs to tell how to get xs5.6sp2 2011-10-27 09:07:02 -07:00
Anthony Young
f54bc06d91 fix typo 2011-10-27 00:39:30 -07:00
Anthony Young
91f58c90c8 fix grammar 2011-10-26 23:48:43 -07:00
Anthony Young
f6ef5690e7 make vm net ip configurable 2011-10-26 23:40:46 -07:00
Anthony Young
fe1c6dedcb fix license 2011-10-26 23:36:25 -07:00
Anthony Young
2a4a3424b4 fix typo 2011-10-26 23:32:30 -07:00
Anthony Young
a693655cac use GUEST_PASSWORD instead of PASSWORD 2011-10-26 23:29:59 -07:00
Anthony Young
876e4b9a70 give dummy ip to eth1 2011-10-26 23:29:49 -07:00
Anthony Young
3eb8f59d29 some tweaks and doc improvements 2011-10-26 23:11:52 -07:00
Anthony Young
cc5028ded1 Merge remote-tracking branch 'origin/master' into xen 2011-10-26 22:35:17 -07:00
Anthony Young
1a09ea49c6 update docs 2011-10-26 22:34:55 -07:00
Anthony Young
b62b4ca292 Initial commit of xen devstack support 2011-10-26 22:29:08 -07:00
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