Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(81)

Unified Diff: environs/ec2/ec2.go

Issue 8247045: add MachineNonce to agent.Conf and MachineConfig (Closed)
Patch Set: add MachineNonce to agent.Conf and MachineConfig Created 11 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « environs/cloudinit/cloudinit_test.go ('k') | environs/openstack/provider.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/ec2/ec2.go
=== modified file 'environs/ec2/ec2.go'
--- environs/ec2/ec2.go 2013-04-03 21:17:19 +0000
+++ environs/ec2/ec2.go 2013-04-05 15:47:26 +0000
@@ -400,11 +400,13 @@
StateServerKey: scfg.stateServerKey,
DataDir: "/var/lib/juju",
Tools: scfg.tools,
- MongoURL: scfg.mongoURL,
- MachineId: scfg.machineId,
- AuthorizedKeys: e.ecfg().AuthorizedKeys(),
- Config: scfg.config,
- Constraints: scfg.constraints,
+ // TODO(dimitern) this will change in a follow-up, when we start using it.
+ MachineNonce: "FAKE_NONCE",
+ MongoURL: scfg.mongoURL,
+ MachineId: scfg.machineId,
+ AuthorizedKeys: e.ecfg().AuthorizedKeys(),
+ Config: scfg.config,
+ Constraints: scfg.constraints,
}
cloudcfg, err := cloudinit.New(cfg)
if err != nil {
« no previous file with comments | « environs/cloudinit/cloudinit_test.go ('k') | environs/openstack/provider.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b