Adds basic machine placement function for export.
Support lxcs in machine placement.