Kambiz Aghaiepour
a1da5fbe30
51-hosts fails if given lots of changes
...
The issue is how awk is used to update hosts files. When
os-apply-config produces sufficiently large amounts of lines
to be added (or ensure in) hosts files, awk will error out.
To work around it, instead use sed, and reconstruct the
host file(s) to ensure the entries between the comment delimeters
of "# HEAT_HOSTS_START" and "# HEAT_HOSTS_END" are swapped with
the new entries.
Also get rid of blank lines produced by os-apply-config
Partial-Bug: #1674732
Change-Id: Ibe0a9f6ec10d55750e3b0e16301236141f988d69
2017-04-07 08:50:46 +00:00
..
2016-05-04 00:07:52 -07:00
2014-11-05 01:38:05 -08:00
2015-06-09 20:57:41 -04:00
2014-11-05 01:38:05 -08:00
2015-04-30 14:45:41 +01:00
2015-02-11 10:01:37 +00:00
2014-10-15 12:03:00 -04:00
2014-11-05 01:38:05 -08:00
2014-10-15 12:03:00 -04:00
2014-11-16 21:23:51 -05:00
2014-11-16 21:23:42 -05:00
2015-05-19 16:47:18 -04:00
2014-10-15 12:03:00 -04:00
2014-05-21 16:42:39 +02:00
2014-08-06 11:06:13 +02:00
2014-11-05 01:38:05 -08:00
2016-11-17 02:11:42 +00:00
2015-05-19 16:47:18 -04:00
2014-11-05 01:38:05 -08:00
2014-11-05 01:38:05 -08:00
2015-09-02 18:18:47 -07:00
2014-10-20 11:53:16 +02:00
2015-01-21 10:28:30 +00:00
2014-04-19 08:08:45 -04:00
2016-06-30 14:42:03 +02:00
2014-11-05 01:38:05 -08:00
2017-02-02 13:55:11 +00:00
2014-07-31 12:25:59 -04:00
2015-01-15 09:27:46 -05:00
2014-04-24 15:38:03 +02:00
2014-12-23 14:12:26 -05:00
2014-10-16 17:59:07 -04:00
2015-05-19 16:47:18 -04:00
2015-02-19 12:57:30 +00:00
2015-08-28 15:58:59 -04:00
2014-11-12 09:37:11 -05:00
2015-07-02 16:53:06 +01:00
2015-05-19 16:47:18 -04:00
2015-04-22 23:12:18 +00:00
2017-04-07 08:50:46 +00:00
2014-05-16 13:48:07 +01:00
2017-01-27 11:02:35 +01:00
2015-02-03 09:50:31 +00:00
2017-01-26 11:05:02 +01:00
2015-05-19 16:47:18 -04:00
2016-04-19 09:29:09 -04:00
2014-07-31 12:25:59 -04:00
2015-01-09 14:26:42 +00:00
2015-05-19 16:47:18 -04:00
2015-04-01 14:13:35 +08:00
2016-08-18 16:14:50 +10:00
2015-03-05 13:55:48 -05:00
2014-11-05 01:38:05 -08:00
2014-11-05 01:38:05 -08:00
2015-03-21 08:19:24 +09:00
2014-11-05 01:38:05 -08:00
2015-01-27 11:42:53 +00:00
2014-11-05 01:38:05 -08:00
2015-02-02 12:05:21 +00:00
2014-11-17 01:27:49 -06:00
2014-12-17 11:47:17 -08:00
2014-11-05 01:38:05 -08:00
2014-11-12 10:31:01 +09:00
2015-01-12 14:35:36 +00:00
2015-10-16 17:41:39 +00:00
2014-12-03 01:49:27 +00:00
2014-10-16 13:56:32 +00:00
2015-08-27 10:29:28 +01:00
2014-07-02 07:39:59 +00:00
2015-01-05 08:20:05 -08:00
2014-11-05 01:38:05 -08:00
2014-10-20 11:53:16 +02:00
2014-10-20 11:53:16 +02:00
2015-04-28 05:33:28 -04:00
2015-05-19 16:47:18 -04:00
2015-05-19 16:47:18 -04:00
2014-07-31 12:25:59 -04:00
2014-09-12 11:31:10 -04:00
2014-12-09 14:58:26 -08:00
2015-02-03 09:50:31 +00:00
2014-11-26 09:54:39 +00:00
2017-01-20 07:41:46 -05:00
2015-07-02 16:53:06 +01:00
2014-05-23 00:30:26 +02:00
2015-04-23 09:30:48 +01:00
2016-04-19 09:29:09 -04:00
2014-09-02 18:30:22 +02:00
2015-07-02 20:02:16 +00:00
2016-01-05 12:38:44 -05:00
2016-07-19 12:50:03 -04:00
2014-06-12 13:56:49 -07:00
2016-06-07 16:50:39 +02:00
2016-11-25 14:03:02 +13:00
2017-01-19 17:22:31 +00:00
2017-01-16 14:20:30 +01:00
2014-11-05 01:38:05 -08:00
2014-05-26 11:21:18 +01:00
2014-11-12 10:31:01 +09:00
2014-07-31 12:25:59 -04:00
2014-07-10 22:55:09 -07:00
2014-11-12 10:31:01 +09:00
2016-03-11 14:57:27 +05:30
2014-11-18 15:26:08 +01:00
2016-11-17 02:11:42 +00:00
2015-01-26 19:13:11 -05:00
2014-10-13 21:06:18 -07:00
2014-11-21 11:50:38 +00:00
2016-10-25 16:07:33 -04:00
2015-06-05 08:12:40 -04:00
2014-07-31 12:25:59 -04:00
2015-11-02 15:35:43 +00:00
2015-01-09 18:25:30 +00:00
2014-07-31 12:25:59 -04:00
2014-11-18 11:54:12 +00:00
2016-05-18 13:14:28 +01:00
2015-07-02 16:53:06 +01:00
2014-09-22 16:02:35 +01:00
2015-01-16 16:26:27 +00:00
2014-12-18 10:24:37 -05:00
2015-07-02 16:53:06 +01:00
2015-04-23 13:27:18 +01:00
2014-10-31 16:30:58 -04:00
2014-07-31 12:25:59 -04:00
2014-05-06 13:09:33 -07:00
2015-05-19 16:47:18 -04:00
2014-09-24 10:34:32 +00:00
2014-03-28 19:55:12 -05:00