Merge lp:~rvb/gwacl/image-fix into lp:gwacl

Proposed by Raphaël Badin
Status: Merged
Approved by: Raphaël Badin
Approved revision: 97
Merged at revision: 97
Proposed branch: lp:~rvb/gwacl/image-fix
Merge into: lp:gwacl
Diff against target: 12 lines (+1/-1)
1 file modified
example/management/run.go (+1/-1)
To merge this branch: bzr merge lp:~rvb/gwacl/image-fix
Reviewer Review Type Date Requested Status
Jeroen T. Vermeulen (community) Approve
Review via email: mp+160924@code.launchpad.net

Commit message

Update the image identifier.

Description of the change

The old image is not available anymore (!). This is an emergency fix to use the new image. The proper fix will include listing the available images and finding a suitable one from the returned list.

To post a comment you must log in.
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

In the longer term, this means we'll have to query the list and pick one. :/

review: Approve
Revision history for this message
Raphaël Badin (rvb) wrote :

> In the longer term, this means we'll have to query the list and pick one. :/

Exactly, that's what I meant by: "The proper fix will include listing the available images and finding a suitable one from the returned list."

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'example/management/run.go'
2--- example/management/run.go 2013-04-17 11:07:11 +0000
3+++ example/management/run.go 2013-04-25 15:07:32 +0000
4@@ -120,7 +120,7 @@
5 fmt.Println("Done requesting storage account\n")
6
7 mediaLink := fmt.Sprintf("http://%s.blob.core.windows.net/vhds/%s.vhd", storageAccount, vhdName)
8- sourceImageName := "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_1-LTS-amd64-server-20121218-en-us-30GB"
9+ sourceImageName := "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_2-LTS-amd64-server-20130325-en-us-30GB"
10 diskName := makeRandomIdentifier("gwacldisk", 16)
11 diskLabel := makeRandomIdentifier("gwacl", 64)
12 OSVirtualHardDisk := gwacl.NewOSVirtualHardDisk("", diskLabel, diskName, mediaLink, sourceImageName)

Subscribers

People subscribed via source and target branches

to all changes: