DescriptionAdd support for the manual provider.
Also reorder the provider fields so
that required ones come first.
The hope for this is to improve the
user experience while creating
environments.
Tests: `make check`.
QA: use quickstart as usual to set up
environments.
To test the manual provider, I've done
the following:
- I used a separate vmware virtual machine:
let's assume its address is 192.168.1.5.
- Install the SSH server in the vm:
`sudo apt-get install ssh`.
- Copy your ssh credential over:
`scp -rp ~/.ssh 192.168.1.5:~`.
- Allow sudo power without password for your user on the vm, by
editing the /etc/sudoers file and adding the following:
$USER ALL=(ALL) NOPASSWD: ALL
where $USER is your user name.
- Run `.venv/bin/python juju-quickstart -i`, select the option to
create a new "Manual Provisioning" environment, select a name for it and
use the vm address as the "bootstrap host", save the environment
and then run it!
- wait for the environment to be ready, then run quickstart again
with the same environment to check it recognizes it's
already bootstrapped.
Done, thank you!
https://code.launchpad.net/~frankban/juju-quickstart/manual-provider/+merge/241595
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
Patch Set 2 : Add support for the manual provider. #
MessagesTotal messages: 7
|