diff options
author | Christopher Baines <mail@cbaines.net> | 2017-01-27 06:15:09 +0000 |
---|---|---|
committer | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2018-03-11 15:59:20 +0000 |
commit | 36a4dc7a6f32cccf1d9e4cdccb46b5cb18de2210 (patch) | |
tree | 91bae2503a4326b9267b915fc76b7a43900d0fd9 /gnu/packages/patches/ghostscript-no-header-id.patch | |
parent | 6f9b9aadbd1328d9062c73dc33a05c84960ba629 (diff) | |
download | guix-release_19.tar guix-release_19.tar.gz |
scripts: system: Add support for container network sharing.release_19
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 'gnu/packages/patches/ghostscript-no-header-id.patch')
0 files changed, 0 insertions, 0 deletions