From 3d5e6355a0827663936713892ac76ce043cc7683 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 6 Sep 2019 00:59:56 -0400 Subject: [PATCH] Example guix system docker-image Signed-off-by: Collin J. Doering --- guix-oci.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/guix-oci.scm b/guix-oci.scm index 4367265..4385845 100644 --- a/guix-oci.scm +++ b/guix-oci.scm @@ -17,13 +17,11 @@ (bootloader grub-bootloader) (target "/dev/sdX"))) - ;; (file-systems (cons* (file-system - ;; (device (file-system-label "my-root")) - ;; (mount-point "/") - ;; (type "ext4")) - ;; %container-file-systems)) - - (file-systems %container-file-systems) + (file-systems (cons* (file-system + (device (file-system-label "root")) + (mount-point "/") + (type "ext4")) + %container-file-systems)) ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the @@ -40,10 +38,6 @@ (packages (cons python-wrapper %base-packages)) - ;; Add services to the baseline: a DHCP client and - ;; an SSH server. - (services (append (list (service dhcp-client-service-type) - (service openssh-service-type - (openssh-configuration - (port-number 2222)))) + ;; Add services to the baseline: a DHCP client + (services (append (list (service dhcp-client-service-type)) %base-services)))