summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-26update changelog (new upstream snapshot 0.7.7-22-g763f403).Scott Moser
2016-08-26merge from master at 0.7.7-22-g763f403Scott Moser
2016-08-26update changelog.Scott Moser
2016-08-26debian/new-upstream-snapshot: small fixes.Scott Moser
2016-08-26apt-config: allow both old and new format to be present.Christian Ehrhardt
This allows both v1/2 and and v3 formats to exist in config. If both are present, then prefer v3. If values are not the same then a ValueError is raised. LP: #1616831
2016-08-25python2.6: fix dict comprehension usage in _lsb_release.Joshua Harlow
This syntax doesn't work in python 2.6
2016-08-24debian/control, debian/README.source: update to reference git.Scott Moser
2016-08-23Import version 0.7.7~bzr1256-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1256Scott Moser
2016-08-23Import version 0.7.7~bzr1246-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1246Scott Moser
2016-08-23Import version 0.7.7~bzr1245-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1245Scott Moser
2016-08-23Import version 0.7.7~bzr1212-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1212Scott Moser
2016-08-23Import version 0.7.7~bzr1209-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1209Scott Moser
2016-08-23Import version 0.7.7~bzr1208-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1208Scott Moser
2016-08-23Import version 0.7.7~bzr1200-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1200Scott Moser
2016-08-23Import version 0.7.7~bzr1192-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1192-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1192Scott Moser
2016-08-23Import version 0.7.7~bzr1189-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1189Scott Moser
2016-08-23Import version 0.7.7~bzr1182-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1182Scott Moser
2016-08-23Import version 0.7.7~bzr1176-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1176Scott Moser
2016-08-23Import version 0.7.7~bzr1160-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1160Scott Moser
2016-08-23Import version 0.7.7~bzr1156-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1156-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1156Scott Moser
2016-08-23Import version 0.7.7~bzr1155-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1155Scott Moser
2016-08-23Import version 0.7.7~bzr1154-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23Add a module that can configure spacewalk.Joshua Harlow
Spacewalk is used by some peopel to manage connections into redhat package management systems and kickstart and various other tasks, so having a system be able to do the needed tasks on first boot to integrate with that system would be very useful (to some). See: https://fedorahosted.org/spacewalk/
2016-08-23add install option for openrcMatthew Thode
Adds an install option for for OpenRC init scripts. I've also restricted installing tests more correctly. Also, don't hardcode the path to ip (/bin/ip on gentoo).
2016-08-23Generate a dummy bond name for OpenStackScott Moser
The OpenStack network_data.json does not provide a name for bond links. This change makes it so a dummy one is generated and used instead to satisfy cloud-init which does require one. In order to write the correct link (underlying 'link' names) for the bonds, we maintain a list of info by ids so we can easily get the right device name. Also: * add a vlan test case that similarly references an id rather than name. * make bond interfaces auto LP: #1605749
2016-08-22releasing package cloud-init version 0.7.7-17-g40a2f62-0ubuntu1Scott Moser
2016-08-22update changelog.Scott Moser
2016-08-22merge from master at 0.7.7-17-g40a2f62Scott Moser
2016-08-22network: fix get_interface_mac for bond slave, read_sys_net for ENOTDIRScott Moser
When using get_interface_mac, on a system with bond slaves, it would return the bond_master's address. That isn't expected, and causes problems in a caller like get_interfaces_by_mac which would then seem to find duplicate macs on the system. Additionally, in read_sys_net catch a errno.ENOTDIR error as ENOENT. Opening a path as a file that has <existing_file>/anything will will raise ENOTDIR rather than ENOENT. This handles that case in read_sys_net as a if the file did not exist.
2016-08-22azure dhclient-hook cleanupsScott Moser
This adds some function to the generator to maintain the presense of a flag file '/run/cloud-init/enabled' indicating that cloud-init is enabled. Then, only run the dhclient hooks if on Azure and cloud-init is enabled. The test for is_azure currently only checks to see that the board vendor is Microsoft, not actually that we are on azure. Running should not be harmful anywhere, other than slowing down dhclient. The value of this additional code is that then dhclient having run does not task the system with the load of cloud-init. Additionally, some changes to config are done here. * rename 'dhclient_leases' to 'dhclient_lease_file' * move that to the datasource config (datasource/Azure/dhclient_lease_file) Also, it removes the config in config/cloud.cfg that set agent_command to __builtin__. This means that by default cloud-init still needs the agent installed. The suggested follow-on improvement is to use __builtin__ if there is no walinux-agent installed.
2016-08-22update changelogScott Moser
2016-08-22debian/rules, debian/cloud-init.install: remove install fileScott Moser
Remove the install file and use --destdir=debian/cloud-init. This means we no longer have to maintain debian/cluod-init.install and risk missing some files. One such error occurred with the upstream Azure change that added dchlient-hooks, that were then not picked up by the cloud-init package here. LP: #1615745
2016-08-22Minor cleanups to atomic_helper and add unit tests.Scott Moser
Change atomic_helper.write_file to have same same signature as write_file. Add some simple unit tests for atomic_helper.
2016-08-22Fix Gentoo net config generationMatthew Thode
This gets Gentoo work on simple configs with static IPs or DHCP on physical interfaces. This gets Gentoo bootable again.