diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-08-09 17:19:50 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-08-09 17:19:50 -0400 |
commit | 01ac0f133c331ad959df4e4f0e248846ab07198f (patch) | |
tree | cfbe543533e6b582de513932eab6853e847ec7e6 /cloudinit/CloudConfig/cc_mounts.py | |
parent | 6f2f34bb39880228802a1b4c78c945a4675209e0 (diff) | |
download | vyos-cloud-init-01ac0f133c331ad959df4e4f0e248846ab07198f.tar.gz vyos-cloud-init-01ac0f133c331ad959df4e4f0e248846ab07198f.zip |
cc_mounts: improve comment strings
Diffstat (limited to 'cloudinit/CloudConfig/cc_mounts.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_mounts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/CloudConfig/cc_mounts.py b/cloudinit/CloudConfig/cc_mounts.py index 0ce45373..97ea1138 100644 --- a/cloudinit/CloudConfig/cc_mounts.py +++ b/cloudinit/CloudConfig/cc_mounts.py @@ -43,7 +43,7 @@ def handle(name,cfg,cloud,log,args): if cfg.has_key("mounts"): cfgmnt = cfg["mounts"] - # shortname matches 'sda', 'sda1', 'xvda', 'hda' + # shortname matches 'sda', 'sda1', 'xvda', 'hda', 'sdb', xvdb, vda, vdd1 shortname_filter = r"^[x]{0,1}[shv]d[a-z][0-9]*$" shortname = re.compile(shortname_filter) @@ -71,7 +71,7 @@ def handle(name,cfg,cloud,log,args): cfgmnt[i][0] = "/dev/%s" % cfgmnt[i][0] for i in range(len(cfgmnt)): - # fill in values with + # fill in values with defaults from defvals above for j in range(len(defvals)): if len(cfgmnt[i]) <= j: cfgmnt[i].append(defvals[j]) |