Add chroot context manager example to debootstrap

Closes #132
This commit is contained in:
2021-07-11 23:10:41 -04:00
parent c76149141f
commit 8c975e5c46
2 changed files with 43 additions and 39 deletions

View File

@ -29,7 +29,7 @@
# This script will run under root privileges as the provisioner does. Be careful
# with that.
# Installation function - performs a debootstrap install of a Debian system
# Installation function - performs no actions then returns
# Note that the only arguments are keyword arguments.
def install(**kwargs):
# The provisioner has already mounted the disks on kwargs['temporary_directory'].