[lxc-devel] [lxd/master] doc/storage: no need to escape underscore in bash examples

keestux on Github lxc-bot at linuxcontainers.org
Tue Sep 22 09:39:30 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 378 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200922/64f0f4a8/attachment.bin>
-------------- next part --------------
From 021693ddbd4432acb7a82bfadd41dad798b092d2 Mon Sep 17 00:00:00 2001
From: Kees Bakker <kees at ijzerbout.nl>
Date: Tue, 22 Sep 2020 11:34:56 +0200
Subject: [PATCH] doc/storage: no need to escape underscore in bash examples

---
 doc/storage.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/storage.md b/doc/storage.md
index 421656ba84..6e0dd9f5fa 100644
--- a/doc/storage.md
+++ b/doc/storage.md
@@ -267,13 +267,13 @@ lxc storage create pool1 ceph
 - Create a osd storage pool named "pool1" in the CEPH cluster "my-cluster".
 
 ```bash
-lxc storage create pool1 ceph ceph.cluster\_name=my-cluster
+lxc storage create pool1 ceph ceph.cluster_name=my-cluster
 ```
 
 - Create a osd storage pool named "pool1" with the on-disk name "my-osd".
 
 ```bash
-lxc storage create pool1 ceph ceph.osd.pool\_name=my-osd
+lxc storage create pool1 ceph ceph.osd.pool_name=my-osd
 ```
 
 - Use the existing osd storage pool "my-already-existing-osd".
@@ -429,7 +429,7 @@ lxc storage create pool1 zfs
  - Create a loop-backed pool named "pool1" with the ZFS Zpool called "my-tank".
 
 ```bash
-lxc storage create pool1 zfs zfs.pool\_name=my-tank
+lxc storage create pool1 zfs zfs.pool_name=my-tank
 ```
 
  - Use the existing ZFS Zpool "my-tank".


More information about the lxc-devel mailing list