aboutsummaryrefslogtreecommitdiff
path: root/build-aux/sync-synopses.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-01-27 06:15:09 +0000
committerChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-09-17 18:43:09 +0100
commit8310c2db4e2e456d5263fc10d1b67cc80de3a0ac (patch)
tree5bebf1a603982e77d0d211bf454221b412415ed6 /build-aux/sync-synopses.scm
parentcb54ba0fb9f6114b920ed9cf7ee4d41f73068841 (diff)
downloadgnu-guix-release_11.tar
gnu-guix-release_11.tar.gz
scripts: system: Add support for container network sharing.release_11
This is a port of the functionality in the Guix environment command to the guix system container command. This requires additional changes to the operating-system definitions used, in particular, networking related services may need removing if the host network is shared. * guix/scripts/system.scm (system-derivation-for-action): Add #:container-shared-network? argument. (perform-action): Add #:container-shared-network? argument. (show-help): Add "-N, --network" help information. (%options): Add network option. (process-action): Call perform-action with #:container-shared-network?. * gnu/system/linux-container.scm (%network-configuration-files): New variable. (container-script): Add support for returning a container script that shares the host network. * gnu/system.scm (essential-services): Add #:container-shared-network? argument. (operating-system-services): Add #:container-shared-network? argument. (operating-system-etc-service): Add #:container-shared-network? argument, and support for ommiting some configuration if the network is shared. (operating-system-activation-script): Add #:container-shared-network? argument, and pass this through to the operating-system-services procedure. (operating-system-boot-script): Add #:container-shared-network? argument, and pass this through to the operating-system-services procedure. (operating-system-derivation): Add the #:container-shared-network? argument, and pass this through to the operating-system-services procedure. (operating-system-profile): Add the #:container-shared-network? argument, and pass this through to the operating-system-services procedure.
Diffstat (limited to 'build-aux/sync-synopses.scm')
0 files changed, 0 insertions, 0 deletions