summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/create-scripts/debootstrap5
-rw-r--r--share/man/container-build-bootstrap.1.rst (renamed from share/man/container-build-debootstrap.1.rst)21
2 files changed, 17 insertions, 9 deletions
diff --git a/share/create-scripts/debootstrap b/share/create-scripts/debootstrap
index 01345f9..bef75b1 100755
--- a/share/create-scripts/debootstrap
+++ b/share/create-scripts/debootstrap
@@ -104,6 +104,11 @@ then
fi
case "${SCRIPT}" in
+ cdebootstrap)
+ BOOTSTRAP="/usr/bin/cdebootstrap"
+ BOOTSTRAP_OPTIONS=""
+ ;;
+
debootstrap)
BOOTSTRAP="/usr/sbin/debootstrap"
BOOTSTRAP_OPTIONS=""
diff --git a/share/man/container-build-debootstrap.1.rst b/share/man/container-build-bootstrap.1.rst
index 853b4dc..647f603 100644
--- a/share/man/container-build-debootstrap.1.rst
+++ b/share/man/container-build-bootstrap.1.rst
@@ -17,13 +17,13 @@
.. You should have received a copy of the GNU General Public License
.. along with this program. If not, see <https://www.gnu.org/licenses/>.
-===========================
-container-build-debootstrap
-===========================
+=========================
+container-build-bootstrap
+=========================
--------------------------------------------------------------------
-Build a basic Debian based container with debootstrap or mmdebstrap
--------------------------------------------------------------------
+----------------------------------------------------------------------------------
+Build a basic Debian based container with debootstrap, cdebootstrap, or mmdebstrap
+----------------------------------------------------------------------------------
:manual section: 1
:manual group: Open Infrastructure
@@ -34,18 +34,21 @@ Synopsis
| **container build -s debootstrap** ['OPTIONS']
| **cnt b -s debootstrap** ['OPTIONS']
+| **container build -s cdebstrap** ['OPTIONS']
+| **cnt b -s cdebstrap** ['OPTIONS']
+
| **container build -s mmdebstrap** ['OPTIONS']
| **cnt b -s mmdebstrap** ['OPTIONS']
Description
===========
-The debootstrap container build script uses debootstrap(8) or mmdebstrap(1)
-to build a Debian based container.
+The bootstrap container build script uses debootstrap(8), cdebootstrap(1), or
+mmdebstrap(1) to build a Debian based container.
This script builds a pure Debian system with three modificiations:
- * apt cache of packages downloaded during debootstrap is cleaned
+ * apt cache of packages downloaded during bootstrap is cleaned
* hostname is set (container name) in /etc/hostname
* root password is set (user specified or 16 random characters)