From 0a939404421f420393118c13f5f757860ae13a24 Mon Sep 17 00:00:00 2001 From: Barry McCormick Date: Fri, 20 Oct 2023 21:51:20 -0700 Subject: [PATCH 1/2] CIDR documentation on create command --- docs/chapters/subcommands/create.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/chapters/subcommands/create.rst b/docs/chapters/subcommands/create.rst index eb9a9677..0cc2137f 100644 --- a/docs/chapters/subcommands/create.rst +++ b/docs/chapters/subcommands/create.rst @@ -22,6 +22,15 @@ bootstrapped release and a private (rfc1918) IP address. This command will create a 11.3-RELEASE container assigning the 10.17.89.10 ip address to the new system. +.. code-block:: shell + + ishmael ~ # bastille create alcatraz 13.2-RELEASE 10.17.89.113/27 + + +The above code will create a jail with a /27 mask. At the time of this documentation you +can only use CIDR notation, and not use a netmask 255.255.255.224 to accomplish this. + + I recommend using private (rfc1918) ip address ranges for your container. These ranges include: From 1e849d41afb61fb145b87ff6a60d7e4562fe99b8 Mon Sep 17 00:00:00 2001 From: Barry McCormick Date: Wed, 1 Nov 2023 10:13:01 -0700 Subject: [PATCH 2/2] resolving to use /24 in docs --- docs/chapters/subcommands/create.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/chapters/subcommands/create.rst b/docs/chapters/subcommands/create.rst index 0cc2137f..14025c30 100644 --- a/docs/chapters/subcommands/create.rst +++ b/docs/chapters/subcommands/create.rst @@ -24,11 +24,11 @@ address to the new system. .. code-block:: shell - ishmael ~ # bastille create alcatraz 13.2-RELEASE 10.17.89.113/27 + ishmael ~ # bastille create alcatraz 13.2-RELEASE 10.17.89.113/24 -The above code will create a jail with a /27 mask. At the time of this documentation you -can only use CIDR notation, and not use a netmask 255.255.255.224 to accomplish this. +The above code will create a jail with a /24 mask. At the time of this documentation you +can only use CIDR notation, and not use a netmask 255.255.255.0 to accomplish this. I recommend using private (rfc1918) ip address ranges for your container. These