~ubuntu-branches/ubuntu/saucy/cloud-init/saucy

« back to all changes in this revision

Viewing changes to cloud-init-cfg.py

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2011-12-22 04:07:38 UTC
  • mto: (174.3.4 precise) (223.2.1 quantal)
  • mto: This revision was merged to the branch mainline in revision 281.
  • Revision ID: package-import@ubuntu.com-20111222040738-na5nc0awfb7c2t4n
* New upstream snapshot.
  - cloud-config support for configuring apt-proxy
  - selection of local mirror based on presense of 'ubuntu-mirror' dns
    entry in local domain. (LP: #897688)
  - DataSourceEc2: more resilliant to slow metadata service (LP: #894279)
  - close stdin in all programs launched by cloud-init (LP: #903993)
  - revert management of /etc/hosts to 0.6.1 style (LP: #890501, LP: #871966)
  - write full ssh keys to console for easy machine consumption (LP: #893400)
  - put INSTANCE_ID environment variable in bootcmd scripts
  - add 'cloud-init-per' script for easily running things with a given freq
    (this replaced cloud-init-run-module)
  - support configuration of landscape-client via cloud-config (LP: #857366)
  - part-handlers now get base64 decoded content rather than 2xbase64 encoded
    in the payload parameter. (LP: #874342)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import sys
21
21
import cloudinit
 
22
import cloudinit.util as util
22
23
import cloudinit.CloudConfig as CC
23
24
import logging
24
25
import os
35
36
    #   read cloud config jobs from config (builtin -> system)
36
37
    #   and run all in order
37
38
 
 
39
    util.close_stdin()
 
40
 
38
41
    modename = "config"
39
42
    
40
43
    if len(sys.argv) < 2: