)]}'
{"nodepool/elements/process-config-drive/README.md":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"8665febc8aaecd854c58d833ca55833dd8bd1f99","unresolved":false,"context_lines":[{"line_number":1,"context_line":"There are a few things that one might need to configure at boot time from"},{"line_number":2,"context_line":"config-drive."},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"Images for Rackspace Cloud do not use DHCP but do put networking information"}],"source_content_type":"text/x-gfm","patch_set":6,"id":"ba7be1f8_74f7bf59","line":1,"updated":"2015-03-02 18:52:16.000000000","message":"There\u0027s a new convention in diskimage-builder land which is to have a Header for this file with the name of the element. I think it might go away once we figure out how to automate that, but it does make the element README.md import better into the docs for now. #notaminusone","commit_id":"b93737b86d9cd3e532be0b3efacf6ce207926b69"}],"nodepool/elements/process-config-drive/bin/static-network-config":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"8665febc8aaecd854c58d833ca55833dd8bd1f99","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 Hewlett-Packard Development Company, L.P."},{"line_number":2,"context_line":"# chkconfig: 2345 05 95"},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"application/octet-stream","patch_set":6,"id":"ba7be1f8_0fcaf04e","line":2,"updated":"2015-03-02 18:52:16.000000000","message":"Note that we could add an LSB init header is an easy enhancement:\n\n    ### BEGIN INIT INFO\n    # Provides:          scriptname\n    # Should-Start:    $network\n    # Should-Stop:     $network\n    # Default-Start:     2 3 4 5\n    # Default-Stop:      0 1 6\n    # Short-Description: Static network config from config drive\n    # Description:       Static network config from config drive\n    ### END INIT INFO\n\nAnyway, this will cause insserv to order the start correctly (before network). No need to do this, but it completes the picture if we go back to caring about sysvinit, and especially if we have insserv on Debian.","commit_id":"b93737b86d9cd3e532be0b3efacf6ce207926b69"}],"nodepool/elements/process-config-drive/install.d/10-static-network-config":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"8665febc8aaecd854c58d833ca55833dd8bd1f99","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"if init_is_upstart ; then"},{"line_number":30,"context_line":"    cat \u003e /etc/init/write-network-interfaces.conf \u003c\u003c\u0027EOF\u0027"},{"line_number":31,"context_line":"start on starting networking"},{"line_number":32,"context_line":"task"},{"line_number":33,"context_line":"exec /etc/init.d/static-network-config"},{"line_number":34,"context_line":"EOF"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"ba7be1f8_efcd9cb8","line":31,"updated":"2015-03-02 18:52:16.000000000","message":"Hah! did we just give up? :)","commit_id":"b93737b86d9cd3e532be0b3efacf6ce207926b69"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"8665febc8aaecd854c58d833ca55833dd8bd1f99","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    # We will try normal init scripts"},{"line_number":70,"context_line":"    if type chkconfig ; then"},{"line_number":71,"context_line":"        chkconfig static-network-config on"},{"line_number":72,"context_line":"    fi"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"ba7be1f8_cf58d8fc","line":72,"updated":"2015-03-02 18:52:16.000000000","message":"We can add debian sysvinit support just by doing an elif here:\n\n    elif type update-rc.d ; then\n        update-rc.d static-network-config defaults\n    fi\n\nIf the LSB init header I mentioned is available, then this will be ordered just before networking start.","commit_id":"b93737b86d9cd3e532be0b3efacf6ce207926b69"}],"nodepool/elements/read-vendor-json/bin/read-vendor-json.py":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"a48234f8f47a7089d8e137df292bd9e70a02b257","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da86d52c_34eca6f3","updated":"2015-02-09 17:38:20.000000000","message":"This file sits mostly in a thin space bridging cloud-init and os-net-config. I\u0027m not entirely certain it is worth not installing libraries to not just embrace and extend one of those. The alternative we have here is having yet another python script.. which is fine, entirely fine, but may result in a few soul points being sucked away long term.","commit_id":"2aefaf1e954c609504f30ef5344c02e7ea061e61"}],"nodepool/elements/read-vendor-json/install.d/10-static-network-config":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"a48234f8f47a7089d8e137df292bd9e70a02b257","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"DIST\u003d$(lsb_release -is)"},{"line_number":23,"context_line":"[ -n \"$DIST\" ]"},{"line_number":24,"context_line":"case $DIST in"},{"line_number":25,"context_line":"    \u0027Ubuntu\u0027|\u0027Debian\u0027)"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    # cloud-init / nova-agent sad panda hacks"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"da86d52c_d467cae8","line":24,"updated":"2015-02-09 17:38:20.000000000","message":"This will be fragile as Debian and Ubuntu are going to systemd \"soon\" (in fact a debootstrap of Debian unstable will give you systemd now). May I suggest this instead:\n\n    init_is_upstart() {\n      /sbin/init --version | grep -q \u0027upstart\u0027\n    }","commit_id":"2aefaf1e954c609504f30ef5344c02e7ea061e61"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"22e96b020c612f8fb9517e04732b7597fa141a14","unresolved":false,"context_lines":[{"line_number":34,"context_line":"instance $UPSTART_JOB$INTERFACE"},{"line_number":35,"context_line":"task"},{"line_number":36,"context_line":"exec start wait-for-state WAITER\u003dstatic-network-waiter-$UPSTART_JOB-$INTERFACE WAIT_FOR\u003dstatic-network"},{"line_number":37,"context_line":"EOF"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    cat \u003e /etc/init/static-network.conf \u003c\u003c\u0027EOF\u0027"},{"line_number":40,"context_line":"# Run networking static config"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"da86d52c_4981748e","line":37,"updated":"2015-02-09 22:16:58.000000000","message":"So, sadly, instance and non-instance start on\u0027s aren\u0027t compatible. Discussing on IRC w/ Monty, but I believe we need both a /etc/init/static-network-waiter-interface.conf and a /etc/init/static-network-waiter-networking.conf, the latter of which is just\n\n    start on starting networking\n    task\n    exec start wait-for-state WAITER\u003dstatic-network-waiter-networking WAIT_FOR\u003dstatic-network\n\nThis simplifies the first one to just\n\n    start on starting network-interface\n    instance $INTERFACE\n    task\n    exec start wait-for-state WAITER\u003dstatic-network-waiter-$INTERFACE WAIT_FOR\u003dstatic-network","commit_id":"9f402c0ba364d3d205a98232b6124e6847a299d2"}]}
