9 Commits

Author SHA1 Message Date
Julio Montes 1c97e18f07 Split cloud-init service
cloud-init-pre-network:
runs before network service.
this service gets metadata from local datasources
in order to configure network stuff before network service
and configures the instance on its first booot

cloud-init:
runs after network service and will get userdata/metadata
from datasources(local/network). This service fixes disk
and filesystem

add first-boot-setup and no-network options
update documentation
2016-04-13 15:53:25 -05:00
Julio Montes f666061e94 Use private tmp directory 2016-04-06 14:53:26 -05:00
Julio Montes a8197405b0 remove cloud-init-firstboot service
cloud-init-firstboot service is not more needed because
cloud-init service can use --user-data-once option to
process only on first boot user data
2016-01-28 16:56:13 -06:00
Julio Montes e5210903eb replace --no-growpart with --fix-disk 2016-01-28 12:37:02 -06:00
Julio Montes aec6333422 update systemd services 2016-01-28 11:22:47 -06:00
Julio Montes 3837262be2 update firstboot service 2015-12-09 12:16:57 -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 89cbfb4313 add cloud-init-firstboot service
cloud-init-firstboot service will do initial tasks
  * create and set up default user
  * get and process metadata/userdata from datasources
  * disable root login
this service will run once (firstboot)

cloud-init service won't run at the first boot
but it will do at next boot times
	* verify/fix/resize/grow up partitions and filesystems
	* get and process userdata from datasources (TODO: optional)
2015-11-20 11:06:40 -06:00
Auke Kok c7d1d9dda7 Initial commit 2015-11-05 18:38:10 +00:00