lp:~smoser/cloud-init/lp1267505
- Get this branch:
- bzr branch lp:~smoser/cloud-init/lp1267505
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 907. By Scott Moser
-
keys in the config are lowercase.
This correctly reads the HostKey entries from sshd_config.
We still have an issue though, in that writing them only reads
from the template. There isn't a clear way to map "keytype"
(rsa, dsa, ecdsa) to which file listed in sshd_config we should
put that in.Ie, it'd be easier if sshd_confing had:
HostKey rsa /etc/ssh/ssh_host_ rsa_key
But in reality it has:
HostKey /etc/ssh/ssh_host_ rsa_key The only way to knwo that that is referencing a rsa key is to
a.) read the existing file (which might not be there)
b.) glean information from the filenameSo the best I think we could really do is match basename(filename) to the
basename of the expanded KEY_FILE_TPL. - 906. By Scott Moser
-
read HostKeys from sshd_config
This does some other things to, generally supporting a move of
top level 'ssh_*' config items into a namespaced 'ssh' dict.ie,
ssh_authorized_keys: [foo]
is now supported at:
ssh:
authorized_keys: [foo] - 905. By Scott Moser
-
provide default 'output' setting to log to /var/log/
cloud-init- output. log This has been "best practice" for quite some time, and its a common
request of "where is the output of my user-data programs".http://
askubuntu. com/questions/ 345344/ where-are- the-logs- for-my- user-data- script- cloud-init - 904. By Scott Moser
-
Azure: minor changes for filename as strings and logging.
We were passing a unicode string to 'runcmd' in the path to the .crt file.
That is because the keyname was coming from ovf file as unicode.
Ie:
u'/var/lib/waagent/ 6BE7A7C3C8A8F4B 123CCA5D0C2F1BE 4CA7B63ED7. crt' Then, logging was extending not appending errors.
- 903. By James Slagle
-
SeLinuxGuard: Cast file path to string.
Before passing a path into selinux.
matchpathcon, it needs to be casted
to a string, since the path could be unicode and selinux.matchpathcon
does not support unicode. - 902. By Scott Moser
-
support calling apt with eatmydata, enable by default if available.
This allows a general config option to prefix apt-get commands via
'apt_get_wrapper'. By default, the command is set to 'eatmydata', and the
mode set to 'auto'. That means if eatmydata is available (via which), it
will use it.The 'command' can be either a array or a string.
- 901. By Scott Moser
-
packages/
debian/ control. in: remove 'python:Depends' remove python:Depends macro from the control.in file. This seemed to be
overriding my 'python-json-patch | python-jsonpatch' with whichever
one was installed.So, we're not getting automatic dependencies on trunk, which is honestly fine.
We'll manage them this way. - 900. By Scott Moser
-
packages/bddeb: accept python-json-patch or python-jsonpatch
debian bug 717916 renames python-json-patch to python-jsonpatch, so ubuntu
cloud-images with cloud-init may not have python-json-patch.Just accept either one.
- 898. By Shraddha Pandhe
-
add 'debug' module for printing debug output.
This adds a debug module for printing debug output. It does not enable it
by default (by putting it in in cloud_config_modules or elsewhere). Thats fine, as it is still quite useful for the user to run:
sudo cloud-init single --frequency=always --name=debug ci-debug.txt
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk