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
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
Dean Troyer
c0a6739f7e
Fix two typos
13 years ago
Dean Troyer
cf9db8da33
Configure network for DHCP
13 years ago
Dean Troyer
3508a3a926
Move PXE cache to /root/pxe
13 years ago
Dean Troyer
10db445b32
Move ramdisk images to CHROOTCACHEDIR
13 years ago
Dean Troyer
a3379e0eb1
Default USE_CURRENT_DEVSTACK to 1
13 years ago
Dean Troyer
6994f94789
Missed a save
13 years ago
Dean Troyer
03412c8cb9
Copy devstack into image
13 years ago
Dean Troyer
11e5e6fc3d
use for /opt/stack
13 years ago
Dean Troyer
cc80654450
build_nfs.sh match build_pxe_ramdisk.sh
13 years ago
Dean Troyer
4cbb267679
Move chroot cache dirs out of devstack dir
13 years ago
Jesse Andrews
5372f43387
update readmes
13 years ago
Jesse Andrews
85d9be3a79
document images upload
13 years ago
Devin Carlen
bfc7bdacae
Target Dashboard to diablo branch
13 years ago
Jesse Andrews
08e8b74588
add uec-natty
13 years ago
Jesse Andrews
a5e5f2a680
attempt to get the id from glance redux
13 years ago
Andy Smith
2ff3f59e5b
TODO: fix parsing of glance results
13 years ago
Jesse Andrews
014e9130db
fix grabbing kernel/ramdisk
13 years ago
Jesse Andrews
644b8e831c
more documentation and attempt to fix glance add
13 years ago
Jesse Andrews
cbe98d5663
more documentation
13 years ago
Jesse Andrews
782b99176c
update docs
13 years ago
Jesse Andrews
0e7e897b48
simple docs
13 years ago
Jesse Andrews
53ed387de4
don't use guest for rabbitmq password - fixes #41
13 years ago
Jesse Andrews
89358afe35
don't use secrete as admin password - fixes #34
13 years ago
Jesse Andrews
c315ebfde6
append to fstab correctly
13 years ago
Jesse Andrews
8cfd8b6cf2
apt-get needs sudo'd
13 years ago
Jesse Andrews
c6d3042e06
attempt to get lxc working #23
13 years ago
Jesse Andrews
4ebd289de0
we don't use bzr anymore
13 years ago
Jesse Andrews
9b6741e7ec
remove nixon & munin
13 years ago
Jesse Andrews
fa418f66a8
fixes #39 - use openssl to generate passwd for mysql
13 years ago