From b43c8c4c4e419abcd412707ac46f827f69fedf90 Mon Sep 17 00:00:00 2001 From: Jay Faulkner <jay@jvf.cc> Date: Fri, 20 Jun 2014 15:36:19 -0700 Subject: [PATCH] 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 --- ironic_python_agent/shell/copy_configdrive_to_disk.sh | 4 ++++ ironic_python_agent/shell/write_image.sh | 3 --- 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 8b41cdca4..de0b1b38d 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 63a6eb705..272e342b4 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() {