From c0bce060b89e50c135e1e0f888daf9c166e57e2c Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Wed, 22 Feb 2012 02:30:15 -0800 Subject: [PATCH] Correct kernel/ramdisk example in docs * Fixes bug 937260 Change-Id: I43ea7d5c1434cc9e1454f6915e2b76586383bb89 --- doc/source/glance.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/glance.rst b/doc/source/glance.rst index e585f8d416..2b22b012a3 100644 --- a/doc/source/glance.rst +++ b/doc/source/glance.rst @@ -283,8 +283,8 @@ To upload a kernel file, ramdisk file and filesystem image file:: # Determine what the ids associated with the kernel and ramdisk files $> glance index # Assuming the ids are 7 and 8: - $> glance add disk_format=ami container_format=ami --kernel=7 \ - --ramdisk=8 ./maverick-server-uec-amd64.img maverick-server-uec-amd64.img + $> glance add disk_format=ami container_format=ami kernel_id=7 \ + ramdisk_id=8 ./maverick-server-uec-amd64.img maverick-server-uec-amd64.img To upload a raw image file::