lp:~otubo/cloud-init

Owned by Eduardo Otubo
Get this repository:
git clone https://git.launchpad.net/~otubo/cloud-init
Only Eduardo Otubo can upload to this repository. If you are Eduardo Otubo please log in for upload directions.

Branches

Name Last Modified Last Commit
nm-support 2018-10-12 09:52:41 UTC 2018-10-12
Small fixes based on maintainers feedback

Author: Eduardo Otubo
Author Date: 2018-10-12 09:52:41 UTC

Small fixes based on maintainers feedback

Addressed all small fixes based on maintainers comments:

1) variable nm_present is now global in the cloudinit/net/sysconfig.py
file scope, since it needs to be checked and modified in both
available() method and __init__() method inside Renderer class

2) check_and_enable_ifcfg_rh() shouldn't chanage system configuration
inside available() method. So renamed to enable_ifcfg_rh() and moved to
__init__() method inside Renderer class,

3) Small logic fixes on other parts of available() method

Signed-off-by: Eduardo Otubo <otubo@redhat.com>

covscan-issues 2018-10-08 15:44:37 UTC 2018-10-08
Fixing static code issues found by covscan

Author: Eduardo Otubo
Author Date: 2018-10-08 15:44:37 UTC

Fixing static code issues found by covscan

A covscan run on cloud-init found these issues that could be quickly
fixed:

1) unecessary join function used:

  cloudinit/config/cc_lxd.py:
  - log.debug("Creating lxd bridge: %s" %
  - " ".join(cmd_create))
  + log.debug("Creating lxd bridge: %s " %
  + cmd_create)

2) Unused variables:

  tools/uncloud-init:
  - helpmount) helpmount=1;;
  - root=*) rootspec=${x#root=};;

  tools/write-ssh-key-fingerprints:
  - read ktype line < "$f"
  + read ktype < "$f"

Signed-off-by: Eduardo Otubo <otubo@redhat.com>

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers