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

Issue 13962043: environs/cloudinit: Allow for disabling hostname

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by jameinel
Modified:
10 years, 7 months ago
Reviewers:
ssmoser, mp+187707, fwereade
Visibility:
Public.

Description

environs/cloudinit: Allow for disabling hostname Step two towards fixing bug #1202163. This sets up "cloud-init" so that it passes the "--no-check-certificate" flag to wget. I did end up testing this live, and sshing into the machine to delete the ca-certificates and verify that with this flag wget works correctly. (I ran the line in cloud-init and verified that with the flag it downloads, without the flag it fails.) https://code.launchpad.net/~jameinel/juju-core/ssl-hostname-cloud-init-1202163/+merge/187707 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : environs/cloudinit: Allow for disabling hostname #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -7 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M environs/cloudinit.go View 1 1 chunk +5 lines, -4 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 chunks +9 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 1 chunk +47 lines, -0 lines 0 comments Download
M environs/cloudinit_test.go View 1 3 chunks +28 lines, -0 lines 0 comments Download
M provider/common/instance.go View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6
jameinel
Please take a look.
10 years, 7 months ago (2013-09-26 09:56:10 UTC) #1
ssmoser
Wouldn't it make more sense to insert the correct certificates into the instance and trust ...
10 years, 7 months ago (2013-09-26 14:09:05 UTC) #2
fwereade
Looks solid -- opinion on comments? https://codereview.appspot.com/13962043/diff/1/environs/cloudinit.go File environs/cloudinit.go (right): https://codereview.appspot.com/13962043/diff/1/environs/cloudinit.go#newcode52 environs/cloudinit.go:52: disableSSLHostnameVerification) A bit ...
10 years, 7 months ago (2013-10-02 09:18:44 UTC) #3
fwereade
On 2013/09/26 14:09:05, ssmoser2 wrote: > Wouldn't it make more sense to insert the correct ...
10 years, 7 months ago (2013-10-02 09:21:50 UTC) #4
jameinel
Please take a look.
10 years, 7 months ago (2013-10-02 10:12:05 UTC) #5
fwereade
10 years, 7 months ago (2013-10-02 12:38:49 UTC) #6
LGTM, thanks.
Sign in to reply to this message.

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