)]}'
{"scripts/files/elements/ubuntu-db2/install.d/10-db2":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"94a465fc762dc6a8f2232a6924ce1dcd9cd2d8e3","unresolved":false,"context_lines":[{"line_number":12,"context_line":"mkdir ${DB2_PKG_LOCATION}"},{"line_number":13,"context_line":"cd ${DB2_PKG_LOCATION}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# DB2 install requires the hostname to be resolved correctly"},{"line_number":16,"context_line":"host_name\u003d`hostname`"},{"line_number":17,"context_line":"echo \"127.0.0.1 ${host_name}\" \u003e\u003e /etc/hosts"},{"line_number":18,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3afc51ec_12946e89","line":15,"updated":"2016-03-12 15:47:59.000000000","message":"Oh, this is wrong!","commit_id":"a3cb917aca24a04eb39a2c0fbe7e6f7eefc1f087"},{"author":{"_account_id":10295,"name":"mariam john","email":"mariamj@us.ibm.com","username":"mariamj"},"change_message_id":"4981d28a425348eb2963553d5efd975477a162fb","unresolved":false,"context_lines":[{"line_number":12,"context_line":"mkdir ${DB2_PKG_LOCATION}"},{"line_number":13,"context_line":"cd ${DB2_PKG_LOCATION}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# DB2 install requires the hostname to be resolved correctly"},{"line_number":16,"context_line":"host_name\u003d`hostname`"},{"line_number":17,"context_line":"echo \"127.0.0.1 ${host_name}\" \u003e\u003e /etc/hosts"},{"line_number":18,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3afc51ec_dbb981eb","line":15,"in_reply_to":"3afc51ec_12946e89","updated":"2016-03-12 23:02:41.000000000","message":"Amrith, I saw the note in https://review.openstack.org/#/c/291820/ were you mention that this wont work for the following reason \"That will put the hostname of the machine where the image was built onto the hosts file of the guest.\"\n\nOn line 52, I delete this entry from the hosts file, so that entry wont be there. In addition to this, I also make the change in the guestagent to change the hostname setting to reflect that of the guest instance.","commit_id":"a3cb917aca24a04eb39a2c0fbe7e6f7eefc1f087"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"a7d20e8a7f6b5f3a9a629e26077ee2d6068ad07c","unresolved":false,"context_lines":[{"line_number":12,"context_line":"mkdir ${DB2_PKG_LOCATION}"},{"line_number":13,"context_line":"cd ${DB2_PKG_LOCATION}"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# DB2 install requires the hostname to be resolved correctly"},{"line_number":16,"context_line":"host_name\u003d`hostname`"},{"line_number":17,"context_line":"echo \"127.0.0.1 ${host_name}\" \u003e\u003e /etc/hosts"},{"line_number":18,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3afc51ec_c60ec833","line":15,"updated":"2016-03-13 00:59:34.000000000","message":"I understand now. Would you update the comment to reflect the fact that you need this hostname setting for the purposes of the installation THAT RUNS IN THE CONTEXT OF DIB. I guess that CAPITALIZED part is the one that is important to understand (and I didn\u0027t). But I see what you are doing and hokey as it is, it makes sense.","commit_id":"23f614ce1ecd92d3376f599c13920ff921d5e62f"}]}
