summaryrefslogtreecommitdiff
path: root/ironic_python_agent/shell
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2014-06-20 15:36:19 -0700
committerJay Faulkner <jay@jvf.cc>2014-06-20 15:39:12 -0700
commitb43c8c4c4e419abcd412707ac46f827f69fedf90 (patch)
tree82f1a109d4ee9784189502ec8672af50b533a17b /ironic_python_agent/shell
parent8e131e75e3ae3849ae1fcf67b9a46f94b01fc2dd (diff)
downloadironic-python-agent-b43c8c4c4e419abcd412707ac46f827f69fedf90.tar.gz
Fix comments to reflect reality
These comments were left in write_image.sh from the 'teeth-agent' days when these were split into two scripts. I moved the comment into the correct script and clarified what it means. Change-Id: Iccdcd925be5c94d993d8125534264f496de4594f
Diffstat (limited to 'ironic_python_agent/shell')
-rwxr-xr-xironic_python_agent/shell/copy_configdrive_to_disk.sh4
-rwxr-xr-xironic_python_agent/shell/write_image.sh3
2 files changed, 4 insertions, 3 deletions
diff --git a/ironic_python_agent/shell/copy_configdrive_to_disk.sh b/ironic_python_agent/shell/copy_configdrive_to_disk.sh
index 8b41cdca..de0b1b38 100755
--- a/ironic_python_agent/shell/copy_configdrive_to_disk.sh
+++ b/ironic_python_agent/shell/copy_configdrive_to_disk.sh
@@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# This should work with almost any image that uses MBR partitioning and
+# doesn't already have 3 or more partitions -- or else you'll no longer
+# be able to create extended partitions on the disk.
+
log() {
echo "`basename $0`: $@"
}
diff --git a/ironic_python_agent/shell/write_image.sh b/ironic_python_agent/shell/write_image.sh
index 63a6eb70..272e342b 100755
--- a/ironic_python_agent/shell/write_image.sh
+++ b/ironic_python_agent/shell/write_image.sh
@@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# This should work with almost any image that uses MBR partitioning and doesn't already
-# have 3 or more partitions.
-
set -e
log() {