I am trying to automate configuration for the Yun since I will be deploying a large number of them with the same setup.
Good job.
The local/offline package sourcing is work around (not Kosher) , since it only take care install packages but not config file and customer files.
http://forum.arduino.cc/index.php?topic=214167.msg1569498#msg1569498