examples/cloud-config-user-groups.txt doc fix, fix pep8
fix documentation of mkpasswd usage in doc/examples/cloud-config-user-groups.txt Also, Precise's version of pep8 insists on ordering of imports, but saucy's has not. So we had some incorrect ordering. This fixes './tools/run-pep8' on precise.
This commit is contained in:
commit
db0fc22e12
@ -25,6 +25,7 @@
|
||||
- multi_log: only write to /dev/console if it exists [Garrett Holmstrom]
|
||||
- config/cloud.cfg: add 'sudo' to list groups for the default user
|
||||
(LP: #1228228)
|
||||
- documentation fix for use of 'mkpasswd' [Eric Nordlund]
|
||||
0.7.2:
|
||||
- add a debian watch file
|
||||
- add 'sudo' entry to ubuntu's default user (LP: #1080717)
|
||||
|
@ -16,8 +16,8 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from cloudinit import util
|
||||
from cloudinit.settings import PER_INSTANCE
|
||||
from cloudinit import util
|
||||
import logging
|
||||
import shlex
|
||||
|
||||
|
@ -46,8 +46,8 @@ users:
|
||||
# inactive: Create the user as inactive
|
||||
# passwd: The hash -- not the password itself -- of the password you want
|
||||
# to use for this user. You can generate a safe hash via:
|
||||
# mkpasswd -m SHA-512 -s 4096
|
||||
# (the above command would create a password SHA512 password hash
|
||||
# mkpasswd --method=SHA-512 --rounds=4096
|
||||
# (the above command would create from stdin an SHA-512 password hash
|
||||
# with 4096 salt rounds)
|
||||
#
|
||||
# Please note: while the use of a hashed password is better than
|
||||
|
@ -2,8 +2,8 @@ from cloudinit import helpers
|
||||
from cloudinit.sources import DataSourceAzure
|
||||
from tests.unittests.helpers import populate_dir
|
||||
|
||||
import crypt
|
||||
import base64
|
||||
import crypt
|
||||
from mocker import MockerTestCase
|
||||
import os
|
||||
import yaml
|
||||
|
@ -1,5 +1,5 @@
|
||||
from cloudinit.sources import DataSourceOpenNebula as ds
|
||||
from cloudinit import helpers
|
||||
from cloudinit.sources import DataSourceOpenNebula as ds
|
||||
from cloudinit import util
|
||||
from mocker import MockerTestCase
|
||||
from tests.unittests.helpers import populate_dir
|
||||
|
@ -19,8 +19,8 @@
|
||||
from cloudinit.config import cc_seed_random
|
||||
|
||||
import base64
|
||||
import tempfile
|
||||
import gzip
|
||||
import tempfile
|
||||
|
||||
from StringIO import StringIO
|
||||
|
||||
|
@ -6,9 +6,9 @@ import gzip
|
||||
import logging
|
||||
import os
|
||||
|
||||
from email.mime.application import MIMEApplication
|
||||
from email.mime.base import MIMEBase
|
||||
from email.mime.multipart import MIMEMultipart
|
||||
from email.mime.application import MIMEApplication
|
||||
|
||||
from cloudinit import handlers
|
||||
from cloudinit import helpers as c_helpers
|
||||
|
@ -5,8 +5,8 @@ import stat
|
||||
import yaml
|
||||
|
||||
from mocker import MockerTestCase
|
||||
from unittest import TestCase
|
||||
from tests.unittests import helpers
|
||||
from unittest import TestCase
|
||||
|
||||
from cloudinit import importer
|
||||
from cloudinit import util
|
||||
|
Loading…
x
Reference in New Issue
Block a user