~smoser/ubuntu/quantal/cloud-init/sru

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_rightscale_userdata.py

  • Committer: Scott Moser
  • Date: 2012-08-23 05:06:29 UTC
  • mfrom: (1.1.31)
  • Revision ID: smoser@ubuntu.com-20120823050629-jkzdptf45cc88s03
* New upstream snapshot.
  * support creating users on boot. remove requirement for a 'ubuntu'
    user to be previously present in image. (LP: #1028503)
  * add experimental apt_reboot_if_required flag to reboot if necessary
    after upgrade or package install (LP: #1038108)
  * improve mirror selection for a distro: 
    * support arm mirrors (LP: #1028501)
    * support seeding security mirror (LP: #1006963)
    * support dns mirrors including availability-zone reference
      (LP: #1037727)
  * include a "None" datasource so items like ssh host key generation
    occur if there is no other metadata service. (LP: #906669)
  * print authorized_keys for users to the console (LP: #1010582)
  * Add RHEVm and vSphere support as datasource AltCloud [Joseph VLcek]

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
import os
39
39
 
 
40
from cloudinit.settings import PER_INSTANCE
40
41
from cloudinit import url_helper as uhelp
41
42
from cloudinit import util
42
 
from cloudinit.settings import PER_INSTANCE
43
43
 
44
44
from urlparse import parse_qs
45
45
 
72
72
    captured_excps = []
73
73
 
74
74
    # These will eventually be then ran by the cc_scripts_user
75
 
    # TODO: maybe this should just be a new user data handler??
 
75
    # TODO(harlowja): maybe this should just be a new user data handler??
76
76
    # Instead of a late module that acts like a user data handler?
77
77
    scripts_d = cloud.get_ipath_cur('scripts')
78
78
    urls = mdict[MY_HOOKNAME]