fix port exposure/mapping; specify machine_id from unit file