-
Committer:
Scott Moser
-
Date:
2016-05-26 19:51:09 UTC
-
Revision ID:
smoser@ubuntu.com-20160526195109-j8fn6ktbxvi91bgw
fixes. seemingly working first boot on config drive
bigger things here:
* fix the checking for stop_files.
the check for no-net actually checked the size of the file
and the implementation was just touching it. so it never would
have been found. no-net is valid only in upstart anyway.
do not stop early on presense of the obj_pkl but check it.
this is required since we write the obj_pkl on exit when
local mode finds a datasource but found in network mode.
* use 'mode' rather than checking args.local.
set mode to be sources.DSMODE_NETWORK or sources.DSMODE_LOCAL
for easier / more consistent checking.
* log exit paths.