363 Commits (e8efef79809f8a88910926f4efeb3eb8d6b0ddcd)
 

Author SHA1 Message Date
Anthony Young e8efef7980 move lxc to tools 13 years ago
Jesse Andrews ec7c89f677 Merge pull request #58 from cloudbuilders/password_prompt
Password prompt (ask users for passwords instead of auto-gen)
13 years ago
Anthony Young d1b1cdb04c tail run.sh.log instead of the stack.sh.log 13 years ago
Anthony Young cf145b77e4 merge trunk, and also make sure localrc exists before running build_lxc.sh 13 years ago
Anthony Young f8dfba1c73 Merge remote-tracking branch 'origin/master' into password_prompt 13 years ago
Jesse Andrews 2e536a3faf add some docs 13 years ago
Jesse Andrews c576a7cd6d Merge pull request #54 from chmouel/mycnf
Set sensible default for mysql client
13 years ago
Jesse Andrews 8abb812e9e Merge pull request #66 from dtroyer/6-usb-boot
Add build_usb_boot
13 years ago
Jesse Andrews 71b9e4b9a0 Merge pull request #65 from dtroyer/5-clean-pxe-boot
Clean build_pxe_boot
13 years ago
Chmouel Boudjnah d5d5b680f8 Set sensible default for mysql client
Using $HOME/.my.cnf to make easier for user to connect to mysql client.
13 years ago
Jesse Andrews 906d586bb0 move readme to markdown 13 years ago
Jesse Andrews b69d6ce529 update readme with note about gh-pages 13 years ago
Jesse Andrews 2ea3c8b0e3 Merge pull request #59 from smoser/localdev
several changes, largest of which is logging output
13 years ago
Scott Moser 4bec581e4e add includedir entry to sudoers if its not there 13 years ago
Scott Moser 55c9d3f13d fix writing of 50_stack_sh in sudoers 13 years ago
Scott Moser df47967da4 fix STACK_DIR variable 13 years ago
Scott Moser 102e440e2b fix bad usage of 'su'. instead use 'set -e'.
I had had tried to use -e argument to su, thinking that it would
go through to sh, but it does not.  instead, just use 'set -e'
13 years ago
Anthony Young b4db225494 No need to check localrc for password. Also use TOP_DIR as described by smoser. 13 years ago
Scott Moser f9da508122 move setting variables and run-as-stack-user code
Change the over all flow so that the default settings are
filled in in the outside shell (not inside the '()' and 'tee').

This way, those variables pass through to the subshell, but they're
also available in the parent shell at the end for outputting status.

Also, exit failure rather than success if 'exec' to run as stack
user failed.
13 years ago
Scott Moser 8ab1ade42e instead of 'newgrp' and a pipe, use 'sg'
sg and newgrp basically do the same thing, but sg takes a command to
execute rather than just executing sh. This just seems cleaner.
13 years ago
Scott Moser b94f4bf35b move 'how to use cloud' info outside of xtrace
make the successful run output end with more clear messages.
By moving them outside of the "do it all" path, the xtrace output
will not mix with echo statements.
13 years ago
Scott Moser d67a18bb07 make sure apt-get update is run
Previously, the only path that would only ensure that 'apt-get update'
was run was when the stack user was created.

Archives can be out of date, apt-get should be run.
13 years ago
Scott Moser 0d2145a0f3 some improvements to 'create stack user' path
* Increase the timeout from 3 to 10, so user has a bigger chance
  to kill the script if being run interactively before a 'stack'
  user is created.
* explicitly ask 'getent' for the stack user rather than getting
  all users and grepping (which would match an "openstack" user,
  or a user named "bob.stack")
* use $PWD rather than `pwd`
* create file in sudoers.d rather than modifying /etc/sudoers.
13 years ago
Scott Moser 7c481189bd log output of stack.sh to logfile in current dir
use the variable LOGFILE to log stack.sh output for debugging
13 years ago
Scott Moser c4e47ab858 simplify script duration output
Bash contains a variable 'SECONDS' that indicates how long
the current shell has been alive.  It seems sane to just use that
to indicate to the user how long the script took.
13 years ago
Anthony Young 66b8bbcbd8 update msg 13 years ago
Anthony Young 6015c82a2b use hard path to localrc 13 years ago
Anthony Young 7a549f40f5 Prompt users for passwords, and write those passwords to localrc 13 years ago
Dean Troyer 9a60bfac1e Cleanups 13 years ago
Dean Troyer 274ec1022e Add build_usb_boot.sh 13 years ago
Dean Troyer dd6636be06 Cleanup PXE boot config 13 years ago
Dean Troyer 5611951aef Move utility scripts to tools/ 13 years ago
Dean Troyer 336e0001a6 Merge remote-tracking branch 'upstream/master' into rcb-master 13 years ago
Dean Troyer 66e2aa2c73 Create RCB master branch 13 years ago
Anthony Young 94c889ac15 make glance client work in exercise.sh 13 years ago
Jesse Andrews 65bb9a9345 Merge pull request #51 from jeblair/master
Add option not to run bash after execing stack.sh
13 years ago
James E. Blair 74c084cd1c Add option not to run bash after execing stack.sh
If stack.sh is run as root, it execs stack.sh as stack, but also
runs bash after doing so to provide a prompt as the stack user.

In unattended installations this isn't desired as it will prevent
the original job from completing.

This change adds a paremeter "SHELL_AFTER_RUN" which can be set
to "no" to prevent the final invocation of bash.
13 years ago
Jesse Andrews 461bfdc89f delete instances needs sudo 13 years ago
Jesse Andrews e4304238c2 only mount cgroups if you haven't already 13 years ago
Anthony Young 0edde7d44f use tenantName for NOVA_PROJECT_ID 13 years ago
Anthony Young 1c598da608 call novnc with flagfile 13 years ago
Anthony Young f2aee71a2a use 10 bytes for dash password, as the UI truncates at 20 characters 13 years ago
Anthony Young 06b7ad7c05 don't require uuidgen, as it isn't always in sparse natty installs 13 years ago
Jesse Andrews 0031df019d spacing fixes 13 years ago
Jesse Andrews 4b16984f35 jesse sucks 13 years ago
Jesse Andrews 2abbdd4751 fix comparisons 13 years ago
Jesse Andrews 0700211f90 devin sucks 13 years ago
Jesse Andrews 647de9d3e3 Merge pull request #47 from dtroyer/master
Updates to build_nfs.sh and build_pxe_ramdisk.sh for common functions
13 years ago
Jesse Andrews f8ebcec063 Merge pull request #44 from devcamcar/patch-1
Target Dashboard to diablo branch
13 years ago
Dean Troyer d4a3bac8d5 Move cache dir to /var/cache/devstack 13 years ago