[lxc-devel] [nova-lxd/master] Fix rendering of README.md

stgraber on Github lxc-bot at linuxcontainers.org
Tue Jun 7 04:51:59 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 358 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160607/f3704405/attachment.bin>
-------------- next part --------------
From e5c0cf9ca5b1744251eb4286450e5f2b7aa57137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 7 Jun 2016 00:51:29 -0400
Subject: [PATCH] Fix rendering of README.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 README.md | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 8949c97..c632d5c 100644
--- a/README.md
+++ b/README.md
@@ -5,10 +5,12 @@ An OpenStack Compute driver for managing containers using LXD.
 ## nova-lxd on Devstack
 
 For development purposes, nova-lxd provides a devstack plugin. To use it, just include the
-following in your devstack `local.conf`::
+following in your devstack `local.conf`:
 
-   [[local|localrc]]
-   enable_plugin nova-lxd https://github.com/lxc/nova-lxd
+```
+[[local|localrc]]
+enable_plugin nova-lxd https://github.com/lxc/nova-lxd
+```
 
 Change git repositories as needed (it's probably not very useful to point to the main
 nova-lxd repo). If you have a local tree you'd like to use, you can symlink your tree to
@@ -17,12 +19,16 @@ nova-lxd repo). If you have a local tree you'd like to use, you can symlink your
 The devstack default images won't work with lxd, as lxd doesn't support them. Once your
 stack is up and you've configured authentication against your devstack, do the following::
 
-   wget http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz
-   glance image-create --name xenial --disk-format raw --container-format bare --file xenial-server-cloudimg-amd64-root.tar.gz
+```
+wget http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz
+glance image-create --name xenial --disk-format raw --container-format bare --file xenial-server-cloudimg-amd64-root.tar.gz
+```
 
 You can test your configuration using the exercise scripts in devstack. For instance,
 
-   DEFAULT_IMAGE_NAME=xenial ./exercises/volumes.sh
+```
+DEFAULT_IMAGE_NAME=xenial ./exercises/volumes.sh
+```
 
 Please note: the exercise scripts in devstack likely won't work, as they have requirements
 for using the cirros images.


More information about the lxc-devel mailing list