Chmouel Boudjnah
2d1a8b3414
Use internal bash reader.
2011-11-14 22:16:11 +01:00
Chmouel Boudjnah
f990ded567
a-space-after-then/do compliance.
2011-11-14 15:26:13 +01:00
Chmouel Boudjnah
0277d5b91f
Install packages only for distros/services.
...
- We are installing packages only for the services needed.
- We are parsing the packages files and detecting metadatas.
- If there is a NOPRIME as comment mean we are not doing the install
just yet.
- If we have the meta-keyword distro:DISTRO or
distro:DISTRO1,DISTRO2 it will be installed only for those
distros (case insensitive).
2011-11-14 15:20:39 +01:00
Chmouel Boudjnah
adfc029a02
Use lsb_release for distro detection.
2011-11-14 14:24:30 +01:00
Vishvananda Ishaya
7e436c212e
use dhcp_release
2011-11-09 00:12:00 -08:00
sleepsonthefloor
08c999d598
Merge pull request #167 from cloudbuilders/trunk-fixes
...
make some changes prepping for trunk branch
2011-11-07 11:02:55 -08:00
sleepsonthefloor
2403e71736
Merge pull request #168 from cloudbuilders/uec-simple
...
Uec simple
2011-11-07 10:50:05 -08:00
Jesse Andrews
f0b41f3fb7
update for why we sleep
2011-11-07 09:51:15 -08:00
Vishvananda Ishaya
9812ffb998
clean up service token
2011-11-06 11:18:26 -08:00
Jesse Andrews
c7f72ad890
should speed up by 20 seconds - sudo and no sleep
2011-11-06 08:00:28 -08:00
Jesse Andrews
5f4ae107ef
chown should be to stack user, not root
2011-11-06 07:47:09 -08:00
Jesse Andrews
ab6105ccf6
sleep half a second to allow bash to start in screen
2011-11-06 00:42:11 -07:00
Vishvananda Ishaya
5f03932626
make some changes prepping for trunk branch
2011-11-05 16:24:12 -07:00
Dean Troyer
2bbcd682aa
Add SERVICE_TIMEOUT
2011-11-05 16:19:03 -05:00
Todd Willey
b244ef34d5
Use $DEST for volume backing file.
2011-11-03 18:19:21 -04:00
Chmouel Boudjnah
a81bbbda93
Merge pull request #157 from cloudbuilders/swift-config-location
...
change swift config location to SWIFT_DIR/config
2011-11-03 09:39:54 -07:00
Chmouel Boudjnah
b2857e4df6
Only ask for swift_hash if swift is enabled.
2011-11-03 16:19:14 +01:00
Jesse Andrews
df5e9949aa
don't install memcached in general list
2011-11-03 09:36:13 -05:00
Chmouel Boudjnah
3a64826b67
Redefine swift configs in SWIFT_DIR
...
We still need a link in /etc/swift until #885595 is fixed.
2011-11-03 10:43:46 +01:00
Chmouel Boudjnah
3875015010
Change SWIFT_LOCATION to SWIFT_DATA_LOCATION
2011-11-03 10:16:28 +01:00
Chmouel Boudjnah
24ec3499cc
Merge remote-tracking branch 'origin/master' into new-swift-support
...
Conflicts:
stack.sh
2011-11-03 09:08:14 +01:00
Anthony Young
0c3b60ce00
typo
2011-11-03 00:07:55 -05:00
Anthony Young
ae7f264970
remove -y since this is using apt_get
2011-11-03 00:03:53 -05:00
Anthony Young
bdc254eb38
emergency fix to not install openvswitch if user is not using quantum
2011-11-02 23:59:12 -05:00
Chmouel Boudjnah
537ddff259
Move all swift files to $FILES/swift/
2011-11-02 19:09:30 +01:00
Chmouel Boudjnah
bbed01d390
Add swift to exercise.sh
2011-11-02 18:22:43 +01:00
Chmouel Boudjnah
e8d1158091
Missed one variable subst from the last commit.
2011-11-02 18:16:32 +01:00
Chmouel Boudjnah
3d9c5d5e4e
Add documentation and fixes.
...
- Fix some spelling mistakes in the documentation.
- Add swift documentation.
- Try to make the code more explicit (ie: remove shortcut variables).
2011-11-02 17:57:11 +01:00
Chmouel Boudjnah
b93478f6c7
Change drives location.
...
Change drives and data location to ${SWIFT_DIR}/data
2011-11-02 17:20:13 +01:00
Chmouel Boudjnah
e1136cb8dc
Fix SWIFT_HASH_PREFIX variable.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
06018a6bdb
Fix wording.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
55ca8c3164
Remove fstab entry and mount it manually.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
067163dfd1
More stack user removals.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
88d54996db
Don't use 'stack' in static but use $USER.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
a55b09d9e8
change stack to $USER
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
ab75f4becf
Ask for SWIFT_HASH.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
5c50f0dcde
Don't enable it by default.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
45c5113701
Add keystone support with swift.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
5ab5b22932
Fix variabe subst.
2011-11-02 17:07:19 +01:00
Chmouel Boudjnah
3b3b775f3b
Ordering is important here.
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
e1d2bcb1b9
Fixes.
...
Fix mounting location at the right place.
Fix rerun of the script.
Start rsync.
Fix permissions.
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
d5651bb5c6
More fixes (this is now working).
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
a2118984c0
Add script to create ring and start server
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
a03f005673
Fixes (still not fully tested).
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
a2cd841265
Change SWIFT_DRIVE_LOCATION to SWIFT_LOCATION
...
Fix some retarness along the way.
2011-11-02 17:07:18 +01:00
Chmouel Boudjnah
28fa4e8d94
Add swift support.
...
Based on github.sh/cloudbuilders/deploy.sh/swift. This is a WIP branch.
2011-11-02 17:07:18 +01:00
Jesse Andrews
e70806452d
Merge pull request #145 from cloudbuilders/screen-name
...
change screen name to stack
2011-11-02 07:32:39 -07:00
Jesse Andrews
e19d884789
add some spacing to the output
2011-11-01 20:06:55 -07:00
Jesse Andrews
de8b9a2340
change screen name to stack - addresses issue #139
2011-11-01 17:23:04 -07:00
Vishvananda Ishaya
d80e380675
fix warning line to include oneiric as well
2011-10-31 13:31:19 -07:00