Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

incresed write time.

  • Loading branch information...
commit 99080da5384a212442ad151ee4dde7adb7bc61d5 1 parent 2aac7de
@Licenser Licenser authored
View
4 apps/chunter/src/chunter_vm_fsm.erl
@@ -529,9 +529,9 @@ write_image(Port, UUID, [Idx|R]) ->
write_image(Port, UUID, R);
write_image(Port, _UUID, []) ->
- lager:debug("<IMG> done going to wait 5s.", []),
+ lager:debug("<IMG> done going to wait 3s.", []),
port_close(Port),
- timer:sleep(5000),
+ timer:sleep(30000),
lager:debug("<IMG> done waiting.", []).
-spec zoneadm(ZUUID::fifo:uuid()) -> [{ID::binary(),
View
4 apps/chunter/src/chunter_vmadm.erl
@@ -180,6 +180,8 @@ update(UUID, Data) ->
port_command(Port, jsx:to_json(Data)),
port_command(Port, "\nEOF\n"),
receive
+ {Port, {data, {eol, Data}}} ->
+ lager:debug("[vmadm] ~s", [Data]);
{Port, {data, Data}} ->
lager:debug("vmadm output: ~s", [Data]);
{Port, {exit_status, _}} ->
@@ -197,6 +199,8 @@ update(UUID, Data) ->
unknown}.
wait_for_tex(Port) ->
receive
+ {Port, {data, {eol, Data}}} ->
+ lager:debug("[vmadm] ~s", [Data]);
{Port, {data, Data}} ->
lager:debug("[vmadm] ~s", [Data]);
{Port,{exit_status, 0}} ->
Please sign in to comment.
Something went wrong with that request. Please try again.