summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-03packages/bddeb: copy all files in packages/debian/Scott Moser
just copy all the files that are there. makes adding files easier.
2016-03-03support nocheck in building.Scott Moser
2016-03-03merge with trunkScott Moser
2016-03-03packages/debian: make trunk packaging closer to ubuntuScott Moser
The big difference is using: ${python3:Depends} or ${python:Depends} rather than explicitly listing the dependencies (via template ${requires}). which means we get paths of /usr/lib/python3/dist-packages/.. rather than /usr/lib/python3.5/dist-packages/.. when built on xenial. Additionally it seems we no longer need this strange line. # Because setup tools didn't copy data...
2016-03-03 Resolved all the pep8 errors.Sankar Tanguturi
Executed ./tools/run-pep8 cloudinit/sources/DataSourceOVF.py and no errors were reported.
2016-03-03Apply pep8, pyflakes fixes for python2 and 3 Ryan Harper
Update make check target to use pep8, pyflakes, pyflakes3.
2016-03-03cloud-init.target should not do anythingScott Moser
no wants or after or before.
2016-03-03generator: be more clear on where kernel cmdline came fromScott Moser
2016-03-03Fix pyflake/pyflake3 errorsRyan Harper
Now we can run make check to assess pep8, pyflakes for python2 or 3 And execute unittests via nosetests (2 and 3).
2016-03-03do not duplicate '-generator' in log ameScott Moser
2016-03-03Update pep8 runner and fix pep8 issuesRyan Harper
2016-03-03merge with trunkScott Moser
2016-03-03consume KERNEL_CMDLINE even if set to "". explain 'container'Scott Moser
2016-03-03lxd fix bug and only run if enabled.Scott Moser
The lxd module would run lxd init even if no lxd/init config was provided.
2016-03-03fix some of pylints complaintsScott Moser
2016-03-03fix lxd module to not do anything unless config providedScott Moser
2016-03-03Makefile: add make check target to run pep8, pyflakes, unittestsRyan Harper
Run a check of pep8, pyflakes (py27), pyflakes3 (py34), and use nosetest and nosetest3 to run unittests. We should pass all of these.
2016-03-03fix pyflakes reported issues, and run it during package build and tox.Scott Moser
2016-03-03make package build run testsScott Moser
2016-03-03run pyflakes in more places, fix falloutScott Moser
this makes 'make' run pyflakes, so failures there will stop a build. also adds it to tox.
2016-03-02Fix logic error in lxd config checkRyan Harper
If the cloud-config does not contain and lxd dictionary then we should not attempt to install the package. Change the latter half of the check to negate the dictionary type check. This fix prevents us from always installing lxd, rather than only installing when we have a config. Fix pyflakes check on init_cfg dict error message.
2016-03-02Used keyword for parameter in order to make it clearer what it represents.Alex Sirbu
2016-03-02Added the hashed_passwd argument for the function create_user, which uses ↵Alex Sirbu
the already implemented functionality of changing the password with a hashed string, but which wasn't used anywhere.
2016-03-02Pep8 changes to Bigstep datasource.root
2016-03-02Added Bigstep datasource.root
2016-03-01 Added a kill switch for customization on VMware platform.Sankar Tanguturi
The customization is set to False by default and is triggered only when the option disable_vmware_customization is set to false in /etc/cloud/cloud.cfg
2016-03-01timezone: use a symlink when updating /etc/localtimeScott Moser
Unless /etc/localtime is an existing file and not a symlink, then we will symlink instead of copying the tz_file to /etc/localtime. The copy was how older versions of Ubuntu handled this. Those versions should have a file /etc/localtime . When the symlink is preferred, then it should already exist in the image. LP: #1543025
2016-03-01timezone: use a symlink when updating /etc/localtimeScott Moser
Unless /etc/localtime is an existing file and not a symlink, then we will symlink instead of copying the tz_file to /etc/localtime. The copy was due to an old bug in Ubuntu, symlink should be preferred. LP: #1543025
2016-03-01Add Image Customization Parser for VMware vSphere Hypervisor Support.Scott Moser
This is the first changeset submitted as a part of project to add cloud-init support for VMware vSphere Hypervisor. This changeset contains _only_ the changes for a simple python parser for a Image Customization Specification file pushed by VMware vSphere hypervisor into the guest VMs. In a later changeset, will be submitting another patch to actually detect the underlying VMware vSphere hypervisor and do the necessary customization.
2016-03-012 fixupsScott Moser
2016-03-01merge with trunkScott Moser
2016-03-01lxd: general fix after testingScott Moser
A few changes: a.) change to using '--name=value' rather than '--name' 'value' b.) make sure only strings are passed to command (useful for storage_create_loop: which is likely an integer) c.) document simple working example d.) support installing zfs if not present and storage_backedn has it.
2016-02-29remove unused varScott Moser
2016-02-29merge with trunkScott Moser
2016-02-29be less verbose by defaultScott Moser
2016-02-29update setup.py to install generatorScott Moser
2016-02-29systemd/cloud-init-generator: add a generator to support disablingScott Moser
This gets installed in /lib/systemd/system/cloud-init.target and then is called to generate the symlink (or not generate the symlink) for the cloud-init target. The end result is cloud-init can be completely disabled by: touch /etc/cloud/cloud-init.disabled or a kernel command line with 'cloud-init=disabled'
2016-02-29add cloud-init.target, update service files accordinglyScott Moser
This adds cloud-init.target which is a single target to encompass all the services of cloud-init.
2016-02-29setup.py: pep8/flake8 changes onlyScott Moser
2016-02-29tox.ini: only specify py3 not specific py34Scott Moser
This makes tox work on xenial where python3 is python3.5 and on older (trusty) where python3 is python3.4.
2016-02-25lxd: add support for setting up lxd using 'lxd init'Scott Moser
If lxd key is present in cfg, then run 'lxd init' with values from the 'init' entry in lxd configuration as flags.
2016-02-25merge with trunkScott Moser
2016-02-25minor cleanupsScott Moser
2016-02-18 - Removed dmi_data function.Sankar Tanguturi
- Fixed few variable names. - Used util.subp methods for process related manipulations.
2016-02-16 - Used proper 4 space indentations for config_nic.py and nic.pySankar Tanguturi
- Implemented the 'search_file' function using 'os.walk()' - Fixed few variable names. - Removed size() function in config_file.py - Updated the test_config_file.py to use len() instead of .size()
2016-02-16Handle escaped quotes in WALinuxAgentShim.find_endpointScott Moser
LP: #1488891
2016-02-15Correct lock_passwd in docsDaniel Watkins
2016-02-09 - Added the code to configure the NICs.Sankar Tanguturi
- Added the code to detect VMware Virtual Platform and apply the customization based on the 'Customization Specification File' Pushed into the guest VM.
2016-02-08 - Added new Unittests for VMware support.Sankar Tanguturi
2016-02-04Merge from trunk and resolve text conflict in ChangeLogWesley Wiedenmeier