Description:
Pass instance-id/hardware directly to jujud
The bootstrap-state agent currently loads its
instance ID and hardware characteristics by
fetching a URL that is written to a file on
disk. This is no longer necessary with
synchronous bootstrap.
I have changed jujud and bootstrap script
generation to pass the instance-id and hardware
characteristics directly to jujud as command
line arguments.
Affected files (+140, -141 lines):
A [revision details]
M cloudinit/sshinit/configure_test.go
M cmd/jujud/bootstrap.go
M cmd/jujud/bootstrap_test.go
M cmd/jujud/main_test.go
M environs/cloudinit.go
M environs/cloudinit/cloudinit.go
M environs/cloudinit/cloudinit_test.go
M environs/manual/bootstrap.go
M instance/instance.go
M provider/common/bootstrap.go
M provider/common/bootstrap_test.go
M provider/local/environ.go
Reviewers: mp+212172_ code.launchpad. net,
Message:
Please take a look.
Description: id/hardware directly to jujud
Pass instance-
The bootstrap-state agent currently loads its
instance ID and hardware characteristics by
fetching a URL that is written to a file on
disk. This is no longer necessary with
synchronous bootstrap.
I have changed jujud and bootstrap script
generation to pass the instance-id and hardware
characteristics directly to jujud as command
line arguments.
Fixes part of lp:1291292
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1291292- jujud-bootstrap -nostateurl/ +merge/ 212172
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/78840044/
Affected files (+140, -141 lines): sshinit/ configure_ test.go bootstrap. go bootstrap_ test.go main_test. go cloudinit. go cloudinit/ cloudinit. go cloudinit/ cloudinit_ test.go manual/ bootstrap. go instance. go common/ bootstrap. go common/ bootstrap_ test.go local/environ. go
A [revision details]
M cloudinit/
M cmd/jujud/
M cmd/jujud/
M cmd/jujud/
M environs/
M environs/
M environs/
M environs/
M instance/
M provider/
M provider/
M provider/