Merge lp:~jtv/orchestra/odev-restart into lp:~orchestra/orchestra/odev
Status: | Merged |
---|---|
Merged at revision: | 104 |
Proposed branch: | lp:~jtv/orchestra/odev-restart |
Merge into: | lp:~orchestra/orchestra/odev |
Diff against target: |
248 lines (+148/-62) 5 files modified
HOWTO (+38/-62) bin/authorize-ssh (+39/-0) bin/start-odev (+26/-0) bin/system-setup (+27/-0) bin/virsh-listener (+18/-0) |
To merge this branch: | bzr merge lp:~jtv/orchestra/odev-restart |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+91050@code.launchpad.net |
Commit message
Easier restart. Automatic ssh key setup. Automated wait until cobbler server is running.
Description of the change
This should make it easier to restart a previously initialized odev environment without re-creating it, or editing the HOWTO. It reduces the steps in the script by moving the details into scripts in ./bin/ so that they're easier to run manually after, say, a reboot. All the user interaction stays in HOWTO.
Actually, two other things change here:
1. Automated help for setting up your ssh keys in the virtual cobbler instance. The HOWTO prompts you for a Launchpad user name to import keys from, but alternatively you can have it jam your ~/.ssh/id_*.pub into the cobbler server's ~/.ssh/
2. The script now waits for the cobbler server's ssh server to come up before continuing. Hopefully this will prove a bit more reliable that the fixed-length sleep I inserted earlier!
Alas, the virsh-listener isn't quite working for me yet. The "range" argument (left unchanged from the original here) seems to preclude connections from the host system. Was it meant to be run on the virtual cobbler server?