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

Unified Diff: environs/cloudinit/cloudinit.go

Issue 9276044: Undo change to cloudinit update logic on raring
Patch Set: Undo change to cloudinit update logic on raring Created 10 years, 10 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 | « [revision details] ('k') | environs/cloudinit/cloudinit_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/cloudinit/cloudinit.go
=== modified file 'environs/cloudinit/cloudinit.go'
--- environs/cloudinit/cloudinit.go 2013-04-19 16:55:38 +0000
+++ environs/cloudinit/cloudinit.go 2013-04-22 20:34:59 +0000
@@ -106,12 +106,6 @@
if err := verifyConfig(cfg); err != nil {
return nil, err
}
- // TODO(dimitern) this is needed for raring, due to LP bug #1103881
- if cfg.Tools.Series == "raring" {
- addScripts(c, "apt-get upgrade -y")
- } else {
- c.SetAptUpgrade(true)
- }
c.AddSSHAuthorizedKeys(cfg.AuthorizedKeys)
c.AddPackage("git")
@@ -184,9 +178,9 @@
}
// general options
+ c.SetAptUpgrade(true)
c.SetAptUpdate(true)
c.SetOutput(cloudinit.OutAll, "| tee -a /var/log/cloud-init-output.log", "")
-
return c, nil
}
« no previous file with comments | « [revision details] ('k') | environs/cloudinit/cloudinit_test.go » ('j') | no next file with comments »

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