From 1198510dbefb33ff117845dbeaf82f91a0ba4cd2 Mon Sep 17 00:00:00 2001 From: jinzhenguo Date: Fri, 19 May 2017 17:57:21 +0800 Subject: [PATCH] update doc dcos_centos_v1/README.md Change-Id: I5b080ce3769407d02c9701d635b25b652933d9cd --- contrib/drivers/dcos_centos_v1/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/drivers/dcos_centos_v1/README.md b/contrib/drivers/dcos_centos_v1/README.md index cb13ec0235..35fccf2533 100644 --- a/contrib/drivers/dcos_centos_v1/README.md +++ b/contrib/drivers/dcos_centos_v1/README.md @@ -60,12 +60,12 @@ dcos_centos_v1 = magnum.drivers.dcos_centos_v1.driver:Driver See how to build a centos image in /opt/stack/magnum/magnum/drivers/dcos_centos_v1/image/README.md 5. Create glance image -$ glance image-create --name centos-7-dcos.qcow2 \ - --visibility public \ - --disk-format qcow2 \ - --container-format bare \ - --os-distro=centos \ - < centos-7-dcos.qcow2 +$ openstack image create centos-7-dcos.qcow2 \ + --public \ + --disk-format=qcow2 \ + --container-format=bare \ + --property os_distro=centos \ + --file=centos-7-dcos.qcow2 6. Create magnum cluster template Configure DC/OS cluster with --labels