28 Commits

Author SHA1 Message Date
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Attila Fazekas
237225dd39 Fixing space issues between " and ]
When we are using '[' aka. ``test`` , before the closing ']'
we need to use a space.

Otherwise the commands return with '2' so the "expression" will be a constant
false.

Change-Id: I673762e802c28335e03390b6608cf6bbee6aaba6
2013-11-06 15:41:04 +01:00
Adam Spiers
cb961597cc Fix shocco errors and warnings
A few Markdown-oriented issues were causing Docutils errors to
leak into the end-user docs on http://devstack.org

Change-Id: I51fa9698afb1bfb48596478d83bd1fdcd84ac52e
2013-10-24 15:43:05 +01:00
Dean Troyer
74759aa17a Remove DEFAULT_STACK_USER, just use STACK_USER
STACK_USER needs to be set for more than just stack.sh, there
was no real distinction for using DEFAULT_STACK_USER instead
of just setting STACK_USER directly in stackrc and allowing it
to be overridden in localrc.

Change-Id: I9e8d70db29bb421f1ce3dbf40a5ad299cc7ea785
2013-01-25 11:09:17 -06:00
Attila Fazekas
91b8d13eda Fix "sudo: sorry, you must have a tty to run sudo"
On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.

Just several "su" variant has an option for skipping the new session creation step.

Only one session can posses a tty, so after a "su -c" the sudo will not
work.

We will use sudo instead of su, when we create the stack account.

This change adds new variable the STACK_USER for
 service username.

Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
2013-01-11 09:15:30 +01:00
Vincent Untz
7c3053da69 Remove leftover references to files/pips/
The files/pips/* files were removed a while ago (replaced by
pip-requires in individual projects). So remove leftover code that was
dealing with that.

Change-Id: Id521a3365ab018193607389f022a25acddb49714
2012-11-29 09:19:16 +01:00
Dean Troyer
e62ba4d312 Cleanup tools scripts
* whitespace and comment cleanups only

Change-Id: I4e631e9a9b8151758dc8c96b3aef76b963d5ea7e
2012-06-27 22:25:56 -05:00
Dean Troyer
7f9aa71bce Extract common functions into a separate file
This is the start of an effort to organize devstack's code
to better document the requirements for configuring the individual
components.

Change-Id: I3476b76b9d1f9ee63687fb9898a98729118cbd84
2012-01-31 12:18:16 -06:00
Jesse Andrews
d7326d2ea9 remove old build scripts and clean for those that work
Change-Id: I5c156879f3c85f1555a1411695ac43cefbbf3b99
2011-11-21 10:14:56 -08:00
Anthony Young
ca2c047b6e fix caching so that there is the ability to download services without installing them. This is done with a #NOPRIME comment in apts/files/ 2011-11-03 16:29:32 -07:00
Dean Troyer
55c0273723 Trap SIGINT, etc and release used resources 2011-11-01 17:44:03 -05:00
Dean Troyer
dccd6b923e Add map_nbd function 2011-11-01 15:46:14 -05:00
Dean Troyer
2567c81b27 Update for variable dist name 2011-11-01 12:36:59 -05:00
Tres Henry
ca85b7996a changing dash to horizon 2011-10-28 15:34:44 -07:00
Dean Troyer
7920b0f757 Wait for partition device to appear 2011-10-26 15:10:46 -05:00
Dean Troyer
ea442c1cb7 Install a generic kernel in the ramdisk image 2011-10-26 12:34:59 -05: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
Jesse Andrews
47d265b060 Merge pull request #63 from dtroyer/2-checkout-devstack
checkout devstack
2011-10-21 11:32:46 -07:00
Vishvananda Ishaya
9b3536714a fix whitespace 2011-10-20 10:08:20 -07:00
Dean Troyer
314bc2247d Fix another chroot/chown combo 2011-10-18 16:32:13 -05:00
Dean Troyer
b5da51972c Always use current devstack in ramdisk 2011-10-17 14:19:05 -05:00
Dean Troyer
0fdb2ec15f Remove natty image fakery 2011-10-17 10:48:21 -05:00
Dean Troyer
288f3bdc23 Set hostname in ramdisk image 2011-10-13 15:50:44 -05:00
Dean Troyer
7c076eeff5 Add FLOATING_RANGE default 2011-10-13 13:20:13 -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