Ahoy,

Just wanted to inform everyone that synchronous bootstrap has landed on
trunk. If you've got any scripts that bootstrap an environment and expect
it to chug away in the background, then some script changes will be
necessary.

If you hit Ctrl+C, juju will catch the SIGINT and cancel the procedure; the
newly created instance will then be terminated.

Bootstrap will provide feedback as it goes through the synchronous part of
the "cloud-init" script. This is using code previously written for manual
provisioning, updated to be more comprehensible/useful to users. Example
output:

$ juju bootstrap --upload-tools
Launching instance
 - i-de79c1b8
Waiting for DNS name.
 - ec2-54-224-239-35.compute-1.amazonaws.com
Attempting to connect to ec2-54-224-239-35.compute-1.amazonaws.com:22.....
Warning: Permanently added
'ec2-54-224-239-35.compute-1.amazonaws.com,54.224.239.35'
(ECDSA) to the list of known hosts.
Logging to /var/log/cloud-init-output.log on remote host
Installing add-apt-repository
Adding apt repository: deb
http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/cloud-tools
main
Running apt-get update
Running apt-get upgrade
Installing package: git
Installing package: mongodb-server
Fetching tools: wget --no-verbose -O $bin/tools.tar.gz '
https://s3.amazonaws.com/juju-cf8c93be48c13f5b4dcc60da85d84e31/tools/releases/juju-1.17.0.1-precise-amd64.tgz
?<redacted>'
Starting MongoDB server (juju-db)
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Connection to ec2-54-224-239-35.compute-1.amazonaws.com closed.

Cheers,
Andrew
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to