X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=README.adoc;h=f5d0643149dff7039393a0ce92bb86a03554f8b9;hb=ec1c9a6194ffe5773e6716e7671e1544fc7f50d4;hp=380911fcd78f01481a66695af2482bd7d845eb00;hpb=63a3b5512db926a35bcce42999d4fc8438ff5a4f;p=rrq%2Foverlay-boot.git diff --git a/README.adoc b/README.adoc index 380911f..f5d0643 100644 --- a/README.adoc +++ b/README.adoc @@ -1,9 +1,6 @@ The overlay-boot Project ======================== -Brief ------ - The *overlay-boot* project implements a "minimalist approach" for dividing a single host into "subhosts" for administratively separated services. The project provides core support for "subhosts" that are @@ -23,8 +20,8 @@ framework. they were alone. * *overlay-boot* includes support for overlay root filesystem with - persistent idividual overlays for the subhosts. This is scripted to - be open for any storage solutions, including the sharing of file + persistent individual overlays for the subhosts. This is scripted + to be open for any storage solutions, including the sharing of file system subtrees, disk and partition image files and logical volume set ups. @@ -75,3 +72,97 @@ The subhost environment may be "entered" with ---- ==== +Another usage example (MTA) +--------------------------- + +This is an example setup at +/opt/mta+ of a larger overlay subhost +for an MTA as primary service and with some additional useful +companion services. + +.Initial setup for /opt/mta +==== +---- +$ sudo mkdir -p /opt/mta/{live,root,work} + +# sudo tee /opt/mta/mta.conf > /etc/network/interfaces +# echo "$MTANET.2 mta" >> /etc/hosts +# echo "mta" > /opt/mta/root/etc/hostname + +# iptables -t nat -I PREROUTING -p tcp --dport 25 -j DNAT --to-destination $MTANET.2 +# iptables -t nat -I POSTROUTING -s $MTANET.2 -j MASQUERADE + +# cat > /etc/network/interfaces.d/mta.conf /opt/mta/root/etc/network/interfaces