98 Commits
Author SHA1 Message Date
Julio Montes 1ff6bf3883 fix make distcheck v11 2015-12-18 13:27:20 -06:00
Julio Montes 37db27ebff update version from 10 to 11 2015-12-18 13:24:56 -06:00
Julio Montes 78c920d68b fix run userdata on config drive 2015-12-18 13:22:38 -06:00
Julio Montes ba7e8a52da add threads to improve resize filesystem time 2015-12-17 16:11:57 -06:00
Julio Montes b714226aea improve userdata unit test
improve lib unit test
2015-12-17 10:14:22 -06:00
Julio Montes 2041ba96c4 process metadata before userdata 2015-12-15 16:28:30 -06:00
Julio Montes 79485cb2b2 update version from 9 to 10 v10 2015-12-15 15:36:56 -06:00
Julio Montes 5ee5a5311a fix problem running shell scripts 2015-12-15 15:22:27 -06:00
Julio Montes 56378a90bb add unit test for userdata 2015-12-15 11:22:59 -06:00
Julio Montes b8055a4530 add support for config drive 2015-12-14 16:04:22 -06:00
Julio Montes c91c00874f update version from 8 to 9 v9 2015-12-10 16:26:45 -06:00
Julio Montes 43c5734e3f fix performance issue 2015-12-10 16:24:55 -06:00
Julio Montes 2a72c3561b remove warnings 2015-12-10 15:57:50 -06:00
Julio Montes f09a476836 add unit test for curl functions 2015-12-10 15:52:37 -06:00
Julio Montes 37543ba3c1 fix memory leak 2015-12-10 15:46:44 -06:00
Julio Montes 275bb5ba83 add missing header in curl.h 2015-12-10 15:45:31 -06:00
Julio Montes dfdafde996 add unit test for write_file
add close file assertions
2015-12-10 14:40:56 -06:00
Julio Montes effa40da76 fix chmod in write_file function 2015-12-10 14:39:45 -06:00
Julio Montes 335708e306 improve unit test for exec_task
remove temp files
2015-12-10 11:57:30 -06:00
Julio Montes 53324512b7 update version from 7 to 8 v8 2015-12-10 10:34:27 -06:00
Julio Montes 5ac625c5db fix spawn commands 2015-12-10 10:30:27 -06:00
Julio Montes 3837262be2 update firstboot service 2015-12-09 12:16:57 -06:00
Julio Montes d3b7e6cee4 update help menu and man pages 2015-12-09 10:19:43 -06:00
Julio Montes 03ab1a2f2c update version from 6 to 7 v7 2015-12-08 15:15:59 -06:00
Julio Montes df2541a4fd fix spawn commands 2015-12-08 15:14:47 -06:00
Julio Montes 4661ac8cc9 Ensure we use the explicit path to binaries 2015-12-08 11:28:55 -06:00
Julio Montes d7e0add7b1 update firstboot service to process userdata and metadata at first boot 2015-12-07 16:13:55 -06:00
Julio Montes 40203e6bee add openstack-user-data and openstack-metadata options
update man pages
2015-12-07 16:03:07 -06:00
Julio Montes 74470eda09 update version from 5 to 6 v6 2015-12-02 09:12:33 -06:00
Julio Montes e19f39ed03 add time to logs 2015-12-02 09:07:31 -06:00
Julio Montes b66290a45e update .gitignore
add files/directories generated by unit tests to .gitignore
2015-12-01 14:40:54 -06:00
Julio Montes d41da9c997 using SYSCONFDIR define
change g_strlcat by g_strlcpy in envar module
2015-12-01 10:19:54 -06:00
Julio Montes b4ba31b3d0 remove write_envar function
remove write_envar function because is a specialized
version of write_file

add config define SYSCONFDIR
2015-12-01 10:08:53 -06:00
Julio Montes 19734ef259 improve write_* functions
write_sudo_string is renamed to write_sudo_directives
write_ssh_key is renamed to write_ssh_keys

now these functions use buffers to improve
access to disk (open/write/close functions)
2015-11-30 16:29:32 -06:00
Julio Montes 3c94634676 implement envar module
update cloud-config man page
update examples
2015-11-30 15:10:23 -06:00
Julio Montes 7d330ee7d1 add function to write environment variables in /etc/profile.d/ 2015-11-30 15:06:14 -06:00
Julio Montes 77ae5cafe0 update examples
add missing examples
remove unsupported examples
2015-11-27 16:56:06 -06:00
Julio Montes 703b7cdcd2 update version from 4 to 5 v5 2015-11-27 14:36:22 -06:00
Julio Montes 457a41b261 update cloud-config documentation
update hostname and runcmd doc
2015-11-27 12:49:31 -06:00
Julio Montes 85dcda040f implement runcmd ccmodule
this module is able to execute command lines
2015-11-27 12:46:42 -06:00
Julio Montes d4963adb31 remove new line in output and error logs 2015-11-27 12:41:42 -06:00
Julio Montes e92fd7cb02 update .gitignore
ignore files generated by unit tests
2015-11-27 10:43:07 -06:00
Julio Montes 6b8758147c add unit test for chown_path 2015-11-27 10:40:08 -06:00
Julio Montes 7e64fbd558 add unit tests for lib
add exec_test unit test
add option --disable-tests do not build unit tests
2015-11-26 12:26:56 -06:00
Julio Montes 97b7691f3b add exec_task standard output to logging system 2015-11-26 12:01:21 -06:00
devimc c4fbe3232f Merge pull request #6 from ikeydoherty/fixes_rebase
Fixes rebase
2015-11-25 10:47:17 -06:00
Ikey Doherty 24b84ba453 Make write_ssh_key bool for clarity, ensure return value
In future we should convert openstack_metadata_keys to a boolean function,
and make sure it breaks iteration of the GNode when hitting a failure,
similar to other areas within clr-cloud-init

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 16:29:59 +00:00
Ikey Doherty 3f93a3b249 Make write_sudo_string bool for clarity, ensure return value is used
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 16:29:27 +00:00
Ikey Doherty 356fc5c1df lib: Ensure return values aren't ignored for errno types
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 16:28:44 +00:00
Ikey Doherty 5579bb59f5 debug: Also catch unused parameter
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 16:28:15 +00:00